-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Benchmarks #455
Comments
Let's make sure these benchmarks present valid measures by adding the quantity of operations and size of files they will have to perform. |
Take a look at https://github.com/whyrusleeping/ipfs-whatever which is very simple and naive benchmarks we have used for go-ipfs over HTTP API. It would be best if we could reuse some/most benchmarks for both js-ipfs and go-ipfs not to double up the efforts. |
Added some numbers, feel free to suggest better ones, these are wild guesses currently. |
I would love if I can just run this against js-ipfs. That would be a great start and save us some time. |
I just tested to run ipfs-whatever against js-ipfs. If we have |
First results for things that worked out of the box. Before is js-ipfs (
|
It would also be cool to have the benchmarks over ipfs-api, both against go-ipfs or js-ipfs :D |
bump the order of magnitude by one or two on the benchmark tests |
Not sure that would be good, those will already be running very long. |
Adding 10 files of 1MB is taking a lot of time? |
No, but if you calculate the above matrix and add the fact that each thing should be run at least 10 times to get some statistical relevance this will explode very quickly. |
Still, we should bump it (or have a way to bump it, like interface-stream-muxer and mega test) |
Just had a chat with @diasdavid, for the first round we will
|
This has been merged.
This is in a PR now: #493 |
💯 yes, let's get the |
@diasdavid PR already exists here : #488 |
closing this one in favor of the PR :) |
* test: tests for recursive dns * docs: update documentation for ipfs.dns
In order to know how fast things are, and in which area we can improve we want to add benchmarks to js-ipfs and its modules.
For the first round I suggest adding the following benchmarks
js-ipfs
js-libp2p-secio
The text was updated successfully, but these errors were encountered: