question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance facility

See original GitHub issue

Hey,

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:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ngrymancommented, Apr 14, 2017

@jbucaran Is the string/number concatenation feature of h mandatory? Correct me if I’m wrong, but except if you are using h 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 of children?

0reactions
jorgebucarancommented, Apr 15, 2017

@ngryman Closing in favor of your other issue #183.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found