File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Results of performance benchmarks with current implementation:
2+
3+ Performance Comparison:
4+ String Map: 1.6081ms, 310.92 ops/ms
5+ Number Map: 1.3837ms, 361.35 ops/ms
6+ Array Map: 1.4091ms, 354.84 ops/ms
7+
8+ ✓ src/performance.test.ts (9 tests) 24262ms
9+ ✓ Performance Benchmarks > Compression Performance > should benchmark compression with different option map sizes 3169ms
10+ ✓ Performance Benchmarks > Compression Performance > should benchmark compression with different selection ratios 3929ms
11+ ✓ Performance Benchmarks > Decompression Performance > should benchmark decompression with different compressed string sizes 81ms
12+ ✓ Performance Benchmarks > Round-trip Performance > should benchmark full compression-decompression cycle 622ms
13+ ✓ Performance Benchmarks > Memory Usage Benchmarks > should measure memory usage for large datasets 10702ms
14+ ✓ Performance Benchmarks > Edge Cases Performance > should benchmark performance with empty selections 290ms
15+ ✓ Performance Benchmarks > Edge Cases Performance > should benchmark performance with full selections 332ms
16+ ✓ Performance Benchmarks > Edge Cases Performance > should benchmark performance with single option 289ms
17+ ✓ Performance Benchmarks > should provide performance comparison between different approaches 4845ms
You can’t perform that action at this time.
0 commit comments