|
Ran
|
Jobs
1
|
Files
513
|
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)
69788 of 117577 branches covered (59.36%)
104729 of 119540 relevant lines covered (87.61%)
1378186.61 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 17 |
91.93 |
-2.45% | src/box/memtx_space.c |
| 6 |
92.41 |
-0.18% | src/box/vinyl.c |
| 4 |
81.82 |
-12.12% | src/lua/minifio.c |
| 3 |
91.29 |
-0.09% | src/box/box.cc |
| 3 |
90.9 |
-0.31% | src/box/vy_scheduler.c |
| 3 |
93.43 |
-0.58% | src/box/xrow_update_field.c |
| 3 |
22.66 |
-0.02% | src/lib/uri/uri_parser.c |
| 2 |
84.65 |
-0.19% | src/box/xlog.c |
| 2 |
97.26 |
0.0% | src/lib/msgpuck/msgpuck.h |
| 1 |
88.82 |
-0.62% | src/box/engine.c |
| 1 |
96.88 |
-1.56% | src/box/engine.h |
| 1 |
90.14 |
-0.08% | src/box/vy_log.c |
| 1 |
95.21 |
-0.53% | src/box/vy_range.c |
| 1 |
88.07 |
-0.01% | src/box/vy_run.c |
| 1 |
87.5 |
-1.59% | src/box/xlog.h |
| 1 |
96.55 |
-1.15% | src/lib/core/histogram.c |
| 1 |
96.15 |
-0.05% | src/lib/salad/bps_tree.h |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18749371827.1 | 513 |
87.61 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|