在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipfs-inactive/ipfs-performance-profiling开源软件地址:https://github.com/ipfs-inactive/ipfs-performance-profiling开源编程语言:JavaScript 56.9%开源软件介绍:This repository has been archived!This IPFS-related repository has been archived, and all issues are therefore frozen. If you want to ask a question or open/continue a discussion related to this repo, please visit the official IPFS forums. We archive repos for one or more of the following reasons:
Please note that in order to keep the primary IPFS GitHub org tidy, most archived repos are moved into the ipfs-inactive org. If you feel this repo should not be archived (or portions of it should be moved to a non-archived repo), please reach out and let us know. Archiving can always be reversed if needed. ipfs-performance-profilingBenchmarking tests for js-ipfs, using go-ipfs as a baseline. Install$ git clone https://github.com/ipfs/ipfs-performance-profiling.git
$ cd ipfs-performance-profiling
$ npm install RunRun all benchmarks on all environments: $ npm run benchmarks Run all benchmarks on the go and js-core environments: $ npm run benchmarks -- --envs=go,js-core Available environments are:
Run named benchmark on the js-http environment:
JSON outputYou can output a JSON report using the $ npm run benchmarks -- files-add-1MB-file --json ReportsYou run and produce an HTML report using: $ npm run benchmarks:report Report with profiling dataYou run and produce an HTML report containing links to profiling data using: $ npm run benchmarks:report:profile -- [<suite>] --envs=[env1,env2] Creating a benchmark suiteA benchmark suite is simply a function that gets two arguments: an IPFS client object and a callback: module.exports = function (ipfs, callback) {
ipfs.files.add([{
path: 'a.txt',
content: new Buffer('a')
}], callback)
} Add it under its own dir under LoggingThe suite runner uses the ContributeFeel free to join in. All welcome. Open an issue! This repository falls under the IPFS Code of Conduct. License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论