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

tarantool / tarantool / 8325102689
88%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2024 11:20AM 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.99% (-0.003%) from 86.993%
8325102689

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)

67086 of 119507 branches covered (56.14%)

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

45 existing lines in 12 files now uncovered.

99611 of 114508 relevant lines covered (86.99%)

2618866.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8325102689.1 18 Mar 2024 11:20AM UTC 0
86.99
GitHub Action Run
Source Files on build 8325102689
Detailed source file information is not available for this build.
  • Back to Repo
  • 26bf1cbc on github
  • Prev Build on master (#8325413406)
  • Next Build on master (#8328216428)
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