Commit graph

2 commits

Author SHA1 Message Date
f7adcbb206
[#4] limiting: Add benchmarks
All checks were successful
DCO action / DCO (pull_request) Successful in 27s
Vulncheck / Vulncheck (pull_request) Successful in 35s
Tests and linters / Tests (pull_request) Successful in 1m13s
Tests and linters / gopls check (pull_request) Successful in 1m13s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m19s
Tests and linters / Tests with -race (pull_request) Successful in 1m19s
Tests and linters / Run gofumpt (pull_request) Successful in 1m20s
Tests and linters / Lint (pull_request) Successful in 1m26s
Tests and linters / Staticcheck (pull_request) Successful in 1m28s
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-13 11:29:20 +03:00
b52a5e1d2d
[#4] limiting: Add different implementation of semaphore
Added different implementations of a semaphore used in the limiter.
They'll be compared to choose one with best perfomance, then may
drop others in the future.

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-13 11:27:16 +03:00