6 ms·
Spitting out sprintfs means parsing texts. JSON might be slow since it's text, but binary based formats should be faster especially the log includes many intege
by frsyuki 14y ago
Spitting out sprintfs means parsing texts. JSON might be slow since it's text, but binary based formats should be faster especially the log includes many integers.
- jacques_chester 14y agosprintf tends to be a faster path than "build tree, render down to text".
- deno 14y agoBoth XML and JSON can be streamed. No tree building necessary.