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

rubensworks / jsonld-context-parser.js / 6784004907
100%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2023 11:46AM UTC
Jobs 4
Files 6
Run time 3s
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

07 Nov 2023 11:45AM UTC coverage: 100.0%. Remained the same
6784004907

push

github

web-flow
Remove deep cloning of contexts during parsing

This significantly improves parsing performance.

I have also done a (small) benchmark of these changes. As can be seen the time taken to parse a context with these changes significantly decreases (in particular it is now 20x faster to parse a VC context).

Before:
Parse a context that has not been cached; and without caching in place x 78.17 ops/sec ±0.73% (78 runs sampled)
Parse a context object that has not been cached x 2,280 ops/sec ±0.65% (91 runs sampled)

in #72:
Parse a context that has not been cached; and without caching in place x 123 ops/sec ±0.78% (84 runs sampled)
Parse a context object that has not been cached x 5,417 ops/sec ±0.70% (87 runs sampled)

After (in this PR):
Parse a context that has not been cached; and without caching in place x 1,714 ops/sec ±0.78% (84 runs sampled)
Parse a context object that has not been cached x 8,902 ops/sec ±0.70% (87 runs sampled)

477 of 477 branches covered (100.0%)

Branch coverage included in aggregate %.

53 of 53 new or added lines in 2 files covered. (100.0%)

553 of 553 relevant lines covered (100.0%)

380.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-18.x - 6784004907.1 07 Nov 2023 11:46AM UTC 6
100.0
GitHub Action Run
2 run-14.x - 6784004907.2 07 Nov 2023 11:46AM UTC 6
100.0
GitHub Action Run
3 run-16.x - 6784004907.3 07 Nov 2023 11:46AM UTC 6
100.0
GitHub Action Run
4 run-12.x - 6784004907.4 07 Nov 2023 11:46AM UTC 6
100.0
GitHub Action Run
Source Files on build 6784004907
  • Tree
  • List 6
  • Changed 4
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 28596b5e on github
  • Prev Build on master (#6492290900)
  • Next Build on master (#6784015903)
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