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

Add UnmarshalString #175

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Add UnmarshalString #175

merged 2 commits into from
Mar 7, 2024

Conversation

Sean-Der
Copy link
Member

@Sean-Der Sean-Der commented Mar 6, 2024

Before
'''
2512 B/op 83 allocs/op
'''

After
'''
2016 B/op 47 allocs/op
'''

Description

Reference issue

Fixes #...

Before
'''
2512 B/op       83 allocs/op
'''

After
'''
2016 B/op         47 allocs/op
'''
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

Attention: Patch coverage is 91.37931% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 64.67%. Comparing base (adf8269) to head (0b24c8c).

Files Patch % Lines
unmarshal.go 83.33% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
+ Coverage   64.22%   64.67%   +0.45%     
==========================================
  Files          11       12       +1     
  Lines        1526     1571      +45     
==========================================
+ Hits          980     1016      +36     
- Misses        446      454       +8     
- Partials      100      101       +1     
Flag Coverage Δ
go 64.67% <91.37%> (+0.45%) ⬆️
wasm 64.67% <91.37%> (+0.45%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Attributes cause the most memory pressure. Start with caching those

Before
"""
12904 B/op         48 allocs/op
"""

After
"""
7483 B/op         34 allocs/op
"""
@Sean-Der Sean-Der merged commit 138ce3c into master Mar 7, 2024
14 checks passed
@Sean-Der Sean-Der deleted the sean-optimize branch March 7, 2024 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant