mennanov / limiters

Golang rate limiters for distributed applications
https://godoc.org/github.com/mennanov/limiters
MIT License
458 stars 49 forks source link

add benchmarks #57

Closed leeym closed 5 months ago

leeym commented 5 months ago

Add benchmarks so it will be easier to compare different implementations and evaluate future improvements.

Split Makefile targets to run test and benchmark separately, and update README accordingly.

This change will double the build time on GitHub if we want to cover both tests and benchmarks. We can run only tests on GitHub if needed.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.05%. Comparing base (ed360c3) to head (0429ad4).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #57 +/- ## ======================================= Coverage 80.05% 80.05% ======================================= Files 12 12 Lines 1449 1449 ======================================= Hits 1160 1160 Misses 212 212 Partials 77 77 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.