Closed zunda closed 11 years ago
Done with ffcfa0d1c4bc8aa746267eb060ab094b47ec7618
$ time ruby scratch/record_activity.rb scratch/zunda.1.sqlite scratch/zunda.json with Throttle.new(1) real 0m2.189s user 0m0.244s sys 0m0.051s
with DummyThrottle.new(1) real 0m2.206s user 0m0.249s sys 0m0.051s
eb2691de8c156827624f226ff6d6048fe1564b8c
With 1 sec throttle:
real 79m41.343s
user 2m6.242s
sys 0m10.550s
WIth DummyThrottle:
real 70m3.085s user 2m5.927s sys 0m9.920s
For now, it might be better not to apply throttle ....
In the near future, it would be good to have minimum interval between queries in lib/githubapi.rb