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

gonzedge / rambling-trie / #348
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 30 Nov 2024 11:41PM UTC
Jobs 1
Files 27
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

30 Nov 2024 11:41PM UTC coverage: 100.0%. Remained the same
#348

push

web-flow
Use `Array#shift` instead of `Array#slice!` to improve performance (#69)

See all `Lookups` in benchmark diff below be significantly faster!

```diff
-Benchmarks for rambling-trie version 2.5.0
+Benchmarks for rambling-trie version 2.5.1

 ==> Creation - `Rambling::Trie.create`
 5 iterations -
-                                5.166490   0.132087   5.298577 (  5.333874)
+                                5.181516   0.113003   5.294519 (  5.296937)

 ==> Compression - `compress!`
 5 iterations -
-                                3.418139   0.379451   3.797590 (  3.800981)
+                                3.407729   0.266162   3.673891 (  3.681826)

 ==> Serialization (raw trie) - `Rambling::Trie.load`
 5 iterations -
-                                2.309660   0.070745   2.380405 (  2.381282)
+                                2.391843   0.091314   2.483157 (  2.485032)

 ==> Serialization (compressed trie) - `Rambling::Trie.load`
 5 iterations -
-                                1.279938   0.026883   1.306821 (  1.307595)
+                                1.333040   0.034955   1.367995 (  1.368192)

 ==> Lookups (raw trie) - `word?`
 200000 iterations - hi                  true
-                                0.380980   0.003259   0.384239 (  0.384605)
+                                0.292980   0.004823   0.297803 (  0.297856)
 200000 iterations - help                true
-                                0.456881   0.001888   0.458769 (  0.459821)
+                                0.331650   0.004004   0.335654 (  0.335843)
 200000 iterations - beautiful           true
-                                0.943306   0.003466   0.946772 (  0.947187)
+                                0.668538   0.002521   0.671059 (  0.671363)
 200000 iterations - impressionism       true
-                                1.324680   0.003980   1.328660 (  1.329083)
+                                0.947736   0.005760   0.953496 (  0.959066)
 20... (continued)

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

548 of 548 relevant lines covered (100.0%)

1349.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #348.1 30 Nov 2024 11:41PM UTC 0
100.0
Source Files on build #348
Detailed source file information is not available for this build.
  • Back to Repo
  • 9c7aea3c on github
  • Prev Build on main
  • Next Build on main
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