|
Ran
|
Jobs
1
|
Files
519
|
Run time
2min
|
Badge
README BADGES
|
push
github
perf: fix `perf/tuple.cc` benchmark The commit fixes several tuple benchmark problems (and potential unwanted optimization is among them): 1. There was `std::vector<char[...]>` construction - it looks monstrous and actually breaks build on some platforms (MacOS, for example) because of destructor problems. Let's replace it with `std::array`, it has the same semantics and is actually the right way to go because it is a C++ class and has a defined destructor. 2. There is an annoying warning complaining that `sprintf` is deprecated, so let's simply replace it with `snprintf`. 3. There are warnings regarding `DoNotOptimize` usage - its const-reference overload is deprecated because it can be actually optimized by compiler. Let's save expression results to local variables so that non-const reference overload is used. NO_TEST=perf NO_CHANGELOG=perf NO_DOC=perf (cherry picked from commit a854a6519)
68719 of 116259 branches covered (59.11%)
103443 of 118119 relevant lines covered (87.58%)
1602439.68 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
90.51 |
-0.63% | src/box/engine.c |
| 1 |
94.74 |
-1.75% | src/box/engine.h |
| 1 |
92.51 |
0.09% | src/box/vinyl.c |
| 1 |
90.14 |
-0.08% | src/box/vy_log.c |
| 1 |
95.68 |
-0.72% | src/box/vy_point_lookup.c |
| 1 |
95.21 |
-0.53% | src/box/vy_range.c |
| 1 |
96.3 |
-3.7% | src/cpu_feature.c |
| 1 |
60.42 |
-0.42% | src/lib/core/fio.c |
| 1 |
96.15 |
-0.05% | src/lib/salad/bps_tree.h |
| 2 |
94.43 |
-0.18% | src/box/xrow_update_field.c |
| 2 |
85.71 |
-9.52% | src/lib/core/tt_sigaction.c |
| 3 |
91.55 |
-0.58% | src/box/gc.c |
| 3 |
90.9 |
-0.31% | src/box/vy_scheduler.c |
| 3 |
84.43 |
-0.08% | src/box/xlog.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18749378732.1 | 519 |
87.58 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|