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

[WIP] plaintext benchmark #9

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
anguage: c # or other C/C++ variants
language: c # or other C/C++ variants

sudo: false

Expand Down Expand Up @@ -37,3 +37,5 @@ install:
script:
- nimble install -y
- nimble test
- nimble benchmark
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the purpose of running benchmark on CI setup? neither travis nor appveyor provide stable hardware so numbers will be meaningless, and benchmarks tend to take a while so it will slow down every PR / build roundtrip..


6 changes: 3 additions & 3 deletions asyncdispatch2.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ task test, "Run all tests":
exec "nim c -r --gc:markAndSweep tests/testbugs"
exec "nim c -r -d:release tests/testbugs"

task test, "compile bench-bot":
exec "nim c -d:release benchmark/bot"
exec "benchmark/bot all"
task benchmark, "compile bench-bot":
exec "nim c -d:release tests/benchmark/bot"
exec "tests/benchmark/bot all"