Closed miparnisari closed 11 months ago
I'm not sure yet why the bench test timed out at 30 minutes.
@thrawn01 I think either BenchmarkLRUCache/Concurrent_writes
or https://github.com/miparnisari/gubernator/blob/61e6cd7bd0e2d876431b8d085c5d0226ea16a894/lrucache_test.go#L551 timed out. Probably because it executed all the reads serially? 🤷♀️
But we should probably timeout the test after 10 minutes.
Each benchmark is configured to run for 5 seconds and the benchmark step in the github action are set to either 15 or 30 minutes
@miparnisari Could we test the go-bench
check to show it fails when exceeding the threshold? Maybe make a temporary change to add sleeps in the benchmarks?
@Baliedge i would need to merge this first into master
so that I have something to compare with :) But i can do that in a different PR.
Never mind, I just answered my own question 😜
Close https://github.com/mailgun/gubernator/issues/199