Skip to content

Instantly share code, notes, and snippets.

Created July 1, 2017 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7b5dafedb24e788f9a8db41a1d68e89d to your computer and use it in GitHub Desktop.
Save anonymous/7b5dafedb24e788f9a8db41a1d68e89d to your computer and use it in GitHub Desktop.
$ perl -Ilib examples/minion_bench.pl
Clean start with 1000000 jobs
Enqueued 1000000 jobs in 324.607717990875 seconds (3080.641/s)
24575 has started 4 workers
24597 will finish 1000 jobs
24598 will finish 1000 jobs
24595 will finish 1000 jobs
24596 will finish 1000 jobs
24595 finished 1000 jobs in 0.927600145339966 seconds (1078.051/s)
24597 finished 1000 jobs in 0.930143117904663 seconds (1075.103/s)
24596 finished 1000 jobs in 0.929838895797729 seconds (1075.455/s)
24598 finished 1000 jobs in 0.930579900741577 seconds (1074.599/s)
4 workers finished 1000 jobs each in 0.956618785858154 seconds (4181.394/s)
24575 has started 4 workers
24606 will finish 1000 jobs
24605 will finish 1000 jobs
24604 will finish 1000 jobs
24603 will finish 1000 jobs
24605 finished 1000 jobs in 0.97494101524353 seconds (1025.703/s)
24604 finished 1000 jobs in 0.974885940551758 seconds (1025.761/s)
24603 finished 1000 jobs in 0.974856853485107 seconds (1025.792/s)
24606 finished 1000 jobs in 0.976693868637085 seconds (1023.862/s)
4 workers finished 1000 jobs each in 0.999284982681274 seconds (4002.862/s)
Requesting job info 100 times
Received job info 100 times in 2.97470712661743 seconds (33.617/s)
Requesting stats 100 times
Received stats 100 times in 39.6490678787231 seconds (2.522/s)
Repairing 100 times
Repaired 100 times in 0.313255071640015 seconds (319.229/s)
Acquiring locks 1000 times
Acquired locks 1000 times in 0.225317001342773 seconds (4438.191/s)
Releasing locks 1000 times
Releasing locks 1000 times in 0.113096952438354 seconds (8841.971/s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment