2 ms·
We have also found that none of the common serialization formats perform acceptably in javascript except JSON (and that's huge on the wire). As an aside, trans
by kybernetikos 12y ago
We have also found that none of the common serialization formats perform acceptably in javascript except JSON (and that's huge on the wire).
As an aside, transit seems dramatically faster in v8 than in firefox, at least in the versons of browsers I'm using, despite the fact that JSON.parse and hydrate are faster in firefox. Has it been specially optimised for v8?
- swannodette 12y agoWe did not specifically optimize of for V8, the optimizations present resulted in a performance win in all browsers. Firefox simply does not deliver the same performance as V8 or JavaScriptCore for this kind of work. Still I think Transit is plenty acceptable under Firefox for many typical JavaScript programs. Hopefully the existence and usage of Transit will encourage Firefox to further improve their JavaScript performance profile.