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

Bring performance back to pre-refactor levels #147

Merged
merged 2 commits into from
Nov 3, 2022
Merged

Bring performance back to pre-refactor levels #147

merged 2 commits into from
Nov 3, 2022

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Nov 3, 2022

Mainly just sprinkling around some @inline calls. In the benchmarks/parsers.jl file, I have some common types where I'm checking performance of Parsers.jl vs. Base and I also checked the current Parsers.jl release vs. #main branch. Performance looks very very close, with only Strings being about 5% slower. I ran out of gas looking to why that may be, but I think that's within the range of acceptability IMO.

Mainly just sprinkling around some `@inline` calls. In the
`benchmarks/parsers.jl` file, I have some common types where I'm
checking performance of Parsers.jl vs. Base and I also checked
the current Parsers.jl release vs. #main branch. Performance
looks very very close, with only Strings being about 5% slower.
I ran out of gas looking to why that may be, but I think that's
within the range of acceptability IMO.
@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Base: 90.99% // Head: 91.05% // Increases project coverage by +0.05% 🎉

Coverage data is based on head (1f3026f) compared to base (5c94282).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
+ Coverage   90.99%   91.05%   +0.05%     
==========================================
  Files           9        9              
  Lines        1611     1610       -1     
==========================================
  Hits         1466     1466              
+ Misses        145      144       -1     
Impacted Files Coverage Δ
src/Parsers.jl 96.75% <100.00%> (ø)
src/components.jl 99.17% <100.00%> (ø)
src/dates.jl 79.09% <100.00%> (+0.23%) ⬆️
src/strings.jl 91.52% <100.00%> (ø)
src/utils.jl 88.99% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@quinnj quinnj merged commit a740baf into main Nov 3, 2022
@quinnj quinnj deleted the jq/perf branch November 3, 2022 17:28
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.

None yet

1 participant