-
Notifications
You must be signed in to change notification settings - Fork 375
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
perf: machine string #1994
perf: machine string #1994
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1994 +/- ##
==========================================
+ Coverage 46.63% 46.82% +0.18%
==========================================
Files 492 492
Lines 69624 69767 +143
==========================================
+ Hits 32472 32670 +198
+ Misses 34445 34388 -57
- Partials 2707 2709 +2 ☔ View full report in Codecov by Sentry. |
do you have some benchmarks to share? |
Benchmark pushed. current branch
master branch
|
How long does it take to print the machine string if it exceeds memory allocation due to an infinitely recursing function? |
That issue is being fixed in another PR |
Op: %v | ||
Values: (len: %d) | ||
%s | ||
Exprs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the new code print these headers? I can see one for Realm for not for the others
Make the
String
method on theMachine
struct faster by preallocating a string builder.issue