Skip to content

Instantly share code, notes, and snippets.

@gfredericks
Last active August 29, 2015 14:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gfredericks/c9eb5563651626626155 to your computer and use it in GitHub Desktop.
Save gfredericks/c9eb5563651626626155 to your computer and use it in GitHub Desktop.
Instructions for benchmarking the 0.8.0-alpha3 release of test.check
#
# In your project.clj, make sure you're currently using test.check
# version 0.7.0, then add a plugins entry:
#
# :plugins [[com.gfredericks/corncob-cigar "0.1.4"]]
#
# Then run:
echo "Testing 0.7.0..." > test.check.log
lein do clean, benchmark-task 10 test 2>/dev/null | grep "Ran task 10 times" >> test.check.log
#
# Then update the test.check dependency to "0.8.0-alpha3", and
# probably run `lein test` real quick to make sure it still passes,
# and then:
#
echo "Testing 0.8.0-alpha3..." >> test.check.log
lein do clean, benchmark-task 10 test 2>/dev/null | grep "Ran task 10 times" >> test.check.log
#
# Then send me the results (here, as a comment?)! Thanks!
#
@miner
Copy link

miner commented Jun 9, 2015

Testing 0.7.0...
Ran task 10 times, runtime was mean of 29279.80ms, standard deviation of 1448.85ms.
Testing 0.8.0-alpha3...
Ran task 10 times, runtime was mean of 40767.60ms, standard deviation of 1608.99ms.
(both with Clojure 1.7.0-rc1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment