#performance-profiling

[ follow ]
JavaScript
fromPythonSpeed
2 days ago

Timesliced reservoir sampling: a new(?) algorithm for profilers

Random sampling from an unknown-length event stream can effectively identify relevant information without storing all data.
#nodejs
Node JS
fromEvanhahn
10 months ago

When Array uses less memory than Uint8Array (in V8)

Using Uint8Array saves memory for large arrays of byte-sized integers after about 150 elements.
[ Load more ]