Comments (3)
I did some profiling, and V8 optimizes the #_transform
method without any problems. I still found that breaking it up makes it easier to understand where time is spent when profiling, and I've not seen any negative performance impacts. See #9.
from dissolve.
The performance issues you used to see with V8 around this sort of thing was more around constantly ballooning memory and leaks than actual throughput.
Older v8 versions capped the length of functions which would be optimised. To observe this you can enable tracing for v8 and see how that function is optimised/deomptimised while your running tests.
In our case we had quite large complex data structures which got handed around a bit before cleanup so that also seemed to trigger increased memory use.
Either way V8 loves short simple code and more readily optimises it.
Good luck with your profiling!
from dissolve.
Closed by #9.
from dissolve.
Related Issues (13)
- Peeking ahead at new values HOT 12
- Bump bl to 1.0.0
- Update npm package HOT 3
- example-complex.js Question with mcstring16 HOT 1
- .scan to search for a buffer HOT 1
- How does 'readable' event really work?
- Why does the _job_up function set __proto__ = null.
- Install with NPM does not include skip method.
- Nested loops HOT 5
- Asynchronous .tap()
- Loop not terminated by EOF HOT 2
- skip() ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dissolve.