What are v8-natives, you might ask? Well, they are the mostly undocumented javascript commands that control the v8 engine in Google Chrome, Opera and Joyent Node.js. Some of the commands are %CollectGarbage(), %GetV8Version(), %GetOptimizationStatus() which ties with my other favorite of %OptimizeFunctionOnNextCall() What can I do with them? You can tell the engine to… Continue reading Announcing a v8-Natives v0.0.1
Category: Performance
Node & Browser Javascript Compression Update
I wrote a post on Data Compression back in October, http://fluentreports.com/blog/?p=18, discussing how I sped up a Data Compression Library that we have been using internally for all web socket traffic and how by combing techniques from different comparable libraries LZJBn.js was born. Well fast forward several months --- I ran across another library that… Continue reading Node & Browser Javascript Compression Update
Data Compression Revisited
Update: There is a relevant update for this in a new post. Over a year ago; one of my co-workers bench marked several compression libraries and since then we have been using library called jslzjb by Bear. This is on a un-released product and we currently use it almost constantly on a wide variety of… Continue reading Data Compression Revisited
Transforming JavaScript JSON
Colt McAnlis posted a very interesting blog post (http://mainroach.blogspot.com/2013/08/json-compression-transpose-binary.html) this evening on using Transposing to reduce the JSON data size; his post was right on the money. We have been using a similar technique for a couple years now. (Although, we use a different compression method over websocket as gzip is too expensive in pure… Continue reading Transforming JavaScript JSON