ci(codspeed): add memory, walltime and Python benchmark jobs#88
Merged
ci(codspeed): add memory, walltime and Python benchmark jobs#88
Conversation
- Add memory profiling job with heap allocation tracking - Add walltime job for real execution time measurement - Add Python benchmark job using pytest-codspeed - Add pytest-codspeed to benchmark dependencies
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #88 +/- ##
=======================================
Coverage 86.64% 86.64%
=======================================
Files 63 63
Lines 13349 13349
=======================================
Hits 11566 11566
Misses 1783 1783
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
- Use mode: memory instead of mode: instrumentation with instruments - Add -m walltime flag for walltime build - Add -m memory flag for memory build
CodSpeed Performance ReportMerging this PR will not alter performanceComparing
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| 🆕 | WallTime | get_no_ttl_check |
N/A | 166 ns | N/A |
| 🆕 | WallTime | direct_inmemory_get |
N/A | 166 ns | N/A |
| 🆕 | WallTime | key_creation_query_result |
N/A | 143 ns | N/A |
| 🆕 | WallTime | factory_single_builder_large_binary |
N/A | 113 ns | N/A |
| 🆕 | WallTime | size_bytes[1000] |
N/A | 3.8 µs | N/A |
| 🆕 | WallTime | size_bytes[10000] |
N/A | 33.5 µs | N/A |
| 🆕 | WallTime | size_bytes[1000000] |
N/A | 15.8 ms | N/A |
| 🆕 | WallTime | traced_cache_get |
N/A | 188 ns | N/A |
| 🆕 | WallTime | columns[50] |
N/A | 3.6 ms | N/A |
| 🆕 | WallTime | concurrent_mixed[1] |
N/A | 54.4 µs | N/A |
| 🆕 | WallTime | factory_single_builder_time64 |
N/A | 70 ns | N/A |
| 🆕 | WallTime | read_heavy[2] |
N/A | 93.9 µs | N/A |
| 🆕 | WallTime | compute_stats[10] |
N/A | 47 ns | N/A |
| 🆕 | WallTime | batch_sizes[1024] |
N/A | 725.9 µs | N/A |
| 🆕 | WallTime | time64_nulls |
N/A | 85.4 µs | N/A |
| 🆕 | WallTime | list_tables_memory_miss |
N/A | 11.5 µs | N/A |
| 🆕 | WallTime | int64_conversion[100000] |
N/A | 658.7 µs | N/A |
| 🆕 | WallTime | analytics_1m_rows |
N/A | 69.3 ms | N/A |
| 🆕 | WallTime | len[100] |
N/A | 112.2 µs | N/A |
| 🆕 | WallTime | entries[100] |
N/A | 38.1 µs | N/A |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add comprehensive CodSpeed benchmark coverage with multiple instruments:
Changes
mode: instrumentationandinstruments: memorymode: walltimefor real-time measurementsDocumentation references
Test plan