Performance facility
See original GitHub issueHey,
I just released a tiny library where I really focused on perf and optimizations: https://github.com/ngryman/tree-crawl.
I was thinking about bringing some stuff I’ve learned on the way here. I think we could add some benchmark, profiling and tracing to the repo.
Multiple goals:
- Keep track of performance evolution.
- Isolate chunks of code that are potentially slow and optimize them.
- Make the code optimizer friendly (monomorphic, avoid deopts and bailouts).
@jbucaran I would gladly focus on this part if you are interested 😃
PS: My first optimization would probably focus on the stack used in h
. Basically implementing a really basic stack and avoiding pop
as much as possible gave a nice +15%
boost in my library.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:5 (5 by maintainers)
Top Results From Across the Web
ATP Performance Facility
Next level Training with out a doubt! Professional staff and Extremely qualified owners that provide personalized attention to each member.
Read more >SB Performance Facility - custom homes in muscle shoals, AL
SB Performance Facility. 504 Louise Avenue Muscle Shoals, AL 35661.
Read more >Performance Facilities - Wichita State University
Performance Facilities manages and oversees the performance venues of the college including: College of Fine Arts Box Office · Miller Concert Hall (including ......
Read more >What to Know Before Opening a Fitness or Performance Facility
There are numerous monetary and logistical factors you should be aware of before opening your own fitness or sports performance facility.
Read more >Facilities Performance Group, LLC
FPG is a privately held corporation based in Hernando, Mississippi. For more than a decade, we have been delivering excellence in facilities support...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jbucaran Is the
string
/number
concatenation feature ofh
mandatory? Correct me if I’m wrong, but except if you are usingh
directly (which is unlikely), you don’t need such a facility. The perf/memory impact of this feature is huge compared to the usage IMHO.EDIT: I emphasis on concatenation, but the real potential bottleneck is the variable number of parameters for
children
. Couldn’t we just have an array ofchildren
?@ngryman Closing in favor of your other issue #183.