Last active
August 29, 2015 14:01
-
-
Save AeroNotix/53fbac3b6bfd84836b4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gen/phases | |
(->> (range sample-size) | |
(map (fn [x] {:type :invoke | |
:f :add | |
:value x})) | |
gen/seq | |
(gen/stagger 1/10) | |
(gen/delay 1) | |
(gen/nemesis | |
(gen/seq | |
(cycle [(gen/sleep 60) | |
{:type :info :f :start} | |
(gen/sleep 300) | |
{:type :info :f :stop}])))) | |
(gen/nemesis | |
(gen/once {:type :info :f :stop}))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment