• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 8325107420
88%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2024 11:08AM UTC
Jobs 1
Files 513
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Mar 2024 10:34AM UTC coverage: 86.993% (+0.02%) from 86.971%
8325107420

push

github

sergepetrenko
box: speed up required fields check in tuple_new()

If the number of tuple fields is less than `format->min_field_count`,
then some required field is missed, i.e., there is no need to update the
`required_fields` bitmap during msgpack decoding. This optimization is
valid only if tuple format doesn't contain fields accessed by JSON paths.

This patch improves bench_tuple_new by 15-50%, depending on field count.

NO_WRAP
$ taskset 0x2 ~/benchmark/tools/compare.py benchmarks \
  ./tuple.perftest.old ./tuple.perftest.new \
  --benchmark_min_warmup_time=10 \
  --benchmark_repetitions=30 \
  --benchmark_report_aggregates_only=true \
  --benchmark_filter=tuple_new
[...]
Comparing ./tuple.perftest.old to ./tuple.perftest.new
Benchmark                                               Time             CPU      Time Old      Time New       CPU Old       CPU New
------------------------------------------------------------------------------------------------------------------------------------
bench_tuple_new<FORMAT_BASIC>_mean                   -0.1469         -0.1470           126           107           126           107
bench_tuple_new<FORMAT_BASIC>_median                 -0.1428         -0.1429           124           106           124           106
bench_tuple_new<FORMAT_BASIC>_stddev                 +0.0589         +0.0600             4             5             4             5
bench_tuple_new<FORMAT_BASIC>_cv                     +0.2412         +0.2427             0             0             0             0
bench_tuple_new<FORMAT_SPARSE>_mean                  -0.3754         -0.3753          3104          1939          3104          1939
bench_tuple_new<FORMAT_SPARSE>_median                -0.3749         -0.3747          3071          1920          3071          1920
bench_tuple_new<FORMAT_SPARSE>_stddev                -0.3482         -0.3482            85            55            85            55
bench_tuple_new<FORMAT_SPARSE>_cv                    +0.0434 ... (continued)

67097 of 119507 branches covered (56.14%)

17 of 17 new or added lines in 1 file covered. (100.0%)

27 existing lines in 11 files now uncovered.

99620 of 114515 relevant lines covered (86.99%)

2606117.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8325107420.1 18 Mar 2024 11:08AM UTC 0
86.99
GitHub Action Run
Source Files on build 8325107420
Detailed source file information is not available for this build.
  • Back to Repo
  • 26bf1cbc on github
  • Prev Build on master (#8294935605)
  • Next Build on master (#8325413406)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc