Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #42

Merged
merged 5 commits into from
Dec 25, 2022
Merged

Updates #42

merged 5 commits into from
Dec 25, 2022

Conversation

tagliala
Copy link
Owner

No description provided.

@coveralls
Copy link

Coverage Status

Coverage: 94.231% (+0.1%) from 94.118% when pulling 1e8b27a on updates into 74aa2db on main.

@@ -65,7 +65,7 @@ def branches(simplecov_branches)
line_number = branch_data.split(', ')[2].to_i
data.each_value do |hits|
branch_number += 1
branches_properties.concat([line_number, 0, branch_number, hits])
branches_properties.push(line_number, 0, branch_number, hits)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ruby version: 3.1.3
Warming up --------------------------------------
              concat   415.986k i/100ms
                push   529.204k i/100ms
Calculating -------------------------------------
              concat      5.427M (± 6.0%) i/s -     27.455M in   5.074033s
                push      6.037M (±12.2%) i/s -     30.165M in   5.068373s

Comparison:
                push:  6037418.6 i/s
              concat:  5426887.3 i/s - same-ish: difference falls within error

Calculating -------------------------------------
              concat   240.000  memsize (     0.000  retained)
                         2.000  objects (     0.000  retained)
                         0.000  strings (     0.000  retained)
                push   200.000  memsize (     0.000  retained)
                         1.000  objects (     0.000  retained)
                         0.000  strings (     0.000  retained)

Comparison:
                push:        200 allocated
              concat:        240 allocated - 1.20x more

Ruby version: 3.2.0
Warming up --------------------------------------
              concat   688.921k i/100ms
                push   371.644k i/100ms
Calculating -------------------------------------
              concat      6.866M (± 1.1%) i/s -     34.446M in   5.017723s
                push      6.104M (± 7.5%) i/s -     30.475M in   5.024755s

Comparison:
              concat:  6865743.9 i/s
                push:  6104350.7 i/s - 1.12x  (± 0.00) slower

Calculating -------------------------------------
              concat   240.000  memsize (     0.000  retained)
                         2.000  objects (     0.000  retained)
                         0.000  strings (     0.000  retained)
                push   200.000  memsize (     0.000  retained)
                         1.000  objects (     0.000  retained)
                         0.000  strings (     0.000  retained)

Comparison:
                push:        200 allocated
              concat:        240 allocated - 1.20x more

@tagliala tagliala merged commit 46f26d1 into main Dec 25, 2022
@tagliala tagliala deleted the updates branch December 25, 2022 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants