Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(epictest) generate data before starting benchmark #449

Merged
merged 1 commit into from Dec 15, 2014

Conversation

btc
Copy link
Contributor

@btc btc commented Dec 15, 2014

for faster, more accurate benchmark results

+ go test ./... -bench=. -v -run=Bench
PASS
BenchmarkInstantaneousAddCat1MB       50      20434373 ns/op      51.31 MB/s
BenchmarkInstantaneousAddCat2MB      100      26463847 ns/op      79.25 MB/s
BenchmarkInstantaneousAddCat4MB       50      52444540 ns/op      79.98 MB/s
BenchmarkInstantaneousAddCat8MB       20     125603062 ns/op      66.79 MB/s
BenchmarkInstantaneousAddCat16MB           5     285122576 ns/op      58.84 MB/s
BenchmarkInstantaneousAddCat32MB           5     577644364 ns/op      58.09 MB/s
BenchmarkInstantaneousAddCat64MB           1    1469263280 ns/op      45.68 MB/s
BenchmarkInstantaneousAddCat128MB          1    2174235476 ns/op      61.73 MB/s
BenchmarkInstantaneousAddCat256MB          1    4819592739 ns/op      55.70 MB/s
BenchmarkRoutingSlowAddCat1MB          1    2617028905 ns/op       0.40 MB/s
BenchmarkRoutingSlowAddCat2MB          1    4652568963 ns/op       0.45 MB/s
BenchmarkRoutingSlowAddCat4MB          1    7460396361 ns/op       0.56 MB/s
BenchmarkRoutingSlowAddCat8MB          1    12527218436 ns/op      0.67 MB/s
BenchmarkRoutingSlowAddCat16MB         1    18445741866 ns/op      0.91 MB/s
BenchmarkRoutingSlowAddCat32MB         1    36389865187 ns/op      0.92 MB/s
BenchmarkNetworkSlowAddCat1MB         20     112103824 ns/op       9.35 MB/s
BenchmarkNetworkSlowAddCat2MB         10     131731348 ns/op      15.92 MB/s
BenchmarkNetworkSlowAddCat4MB         10     188635880 ns/op      22.23 MB/s
BenchmarkNetworkSlowAddCat8MB          5     275349889 ns/op      30.47 MB/s
BenchmarkNetworkSlowAddCat16MB         5     328141138 ns/op      51.13 MB/s
BenchmarkNetworkSlowAddCat32MB         5     454094845 ns/op      73.89 MB/s
BenchmarkNetworkSlowAddCat64MB         2     801813609 ns/op      83.70 MB/s
BenchmarkNetworkSlowAddCat128MB        1    1793868067 ns/op      74.82 MB/s
BenchmarkNetworkSlowAddCat256MB        1    3586404768 ns/op      74.85 MB/s
BenchmarkBlockstoreSlowAddCat1MB          20     123439675 ns/op       8.49 MB/s
BenchmarkBlockstoreSlowAddCat2MB          10     211015893 ns/op       9.94 MB/s
BenchmarkBlockstoreSlowAddCat4MB           5     398302066 ns/op      10.53 MB/s
BenchmarkBlockstoreSlowAddCat8MB           2     845097118 ns/op       9.93 MB/s
BenchmarkBlockstoreSlowAddCat16MB          1    1707422430 ns/op       9.83 MB/s
BenchmarkBlockstoreSlowAddCat32MB          1    3319987644 ns/op      10.11 MB/s
BenchmarkBlockstoreSlowAddCat64MB          1    5960528012 ns/op      11.26 MB/s
BenchmarkBlockstoreSlowAddCat128MB         1    11982092666 ns/op     11.20 MB/s
BenchmarkBlockstoreSlowAddCat256MB         1    19802131338 ns/op     13.56 MB/s
ok      github.com/jbenet/go-ipfs/epictest  215.045s

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
@btc btc added the status/in-progress In progress label Dec 15, 2014
btc pushed a commit that referenced this pull request Dec 15, 2014
fix(epictest) generate data before starting benchmark
@btc btc merged commit bddae0c into master Dec 15, 2014
@btc btc removed the status/in-progress In progress label Dec 15, 2014
@btc btc deleted the fix/benchmark-timer branch December 15, 2014 02:16
@aschmahmann aschmahmann mentioned this pull request Feb 18, 2021
73 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant