Skip to content

feat: improve benchmarking#14

Merged
oliverkuchies merged 2 commits intomainfrom
feat/improve-benchmarking
Nov 11, 2025
Merged

feat: improve benchmarking#14
oliverkuchies merged 2 commits intomainfrom
feat/improve-benchmarking

Conversation

@oliverkuchies
Copy link
Owner

@oliverkuchies oliverkuchies commented Nov 11, 2025

  • Added benny for benchmarking performance of cache reads and writes.
  • Replaced old benchmark tests with new structured benchmarks in tests/benchmarks/read.ts and tests/benchmarks/write.ts.
  • Updated CacheService to include a new method mdel for deleting multiple keys.
  • Introduced CacheType enum to categorize cache levels (memory, disk, distributed).
  • Enhanced MemoryCacheLevel and RedisCacheLevel to include cacheType property.
  • Refactored memory and Redis cache levels to support asynchronous operations in set and updateStore methods.
  • Removed outdated benchmark tests and utility functions, consolidating them into new benchmark files.

- Added `benny` for benchmarking performance of cache reads and writes.
- Replaced old benchmark tests with new structured benchmarks in `tests/benchmarks/read.ts` and `tests/benchmarks/write.ts`.
- Updated `CacheService` to include a new method `mdel` for deleting multiple keys.
- Introduced `CacheType` enum to categorize cache levels (memory, disk, distributed).
- Enhanced `MemoryCacheLevel` and `RedisCacheLevel` to include `cacheType` property.
- Refactored memory and Redis cache levels to support asynchronous operations in `set` and `updateStore` methods.
- Removed outdated benchmark tests and utility functions, consolidating them into new benchmark files.
- Updated `vitest.config.ts` to improve test coverage configuration.
@oliverkuchies oliverkuchies merged commit 6c00b12 into main Nov 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant