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

xapi-project / xen-api / 15011432964
80%

Build:
DEFAULT BRANCH: master
Ran 14 May 2025 03:16AM UTC
Jobs 1
Files 33
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

13 May 2025 10:02AM UTC coverage: 77.719%. Remained the same
15011432964

push

github

web-flow
CP-307958: small DB improvements and benchmarks (#6461)

We were converting events to RPC.t twice: first using the internal OCaml
names, and then mapping them back to some "wire" names. This can be done
a lot more simply by generating the wire names in the first place (the
ppx support overriding the wire name of fields).

  `ministat` confirms an improvement on `rpc_of_event`:
```
      N           Min           Max        Median           Avg        Stddev
x  922     440.79126     46094.975     467.83727     563.79259     1676.0843
+ 1131     51.346821     33407.866     58.715393     115.98006     1105.4178
  Difference at 95.0% confidence
            -447.813 +/- 120.966
             -79.4286% +/- 13.1488%
           (Student's t, pooled s = 1390.95)
```

Atomic is also faster than an integer wrapped with a mutex:
```
Mutex+incr (ns):
 { monotonic-clock per run = 32.272091 (confidence: 32.365531 to 32.170138);
 r² = Some 0.999441 }
Atomic.incr (ns):
 { monotonic-clock per run = 2.938678 (confidence: 2.944486 to 2.933688);
   r² = Some 0.999857 }
```

I've added some new new benchmarks for event field conversion, atomic vs
mutex and DB field writes.

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 15011432964.1 14 May 2025 03:16AM UTC 33
77.72
GitHub Action Run
Source Files on build 15011432964
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15011432964
  • 418b6108 on github
  • Prev Build on master (#14991806157)
  • Next Build on master (#15035778906)
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

© 2025 Coveralls, Inc