JSON is a standard format for data interchange. It is effectively a tiny subset of JavaScript made of objects and arrays. It looks as follows {"key":1, "text":[1.0,2.0]}. Many programming languages include a JSON library in their standard libraries: C#, Go, Java (soon), Python, JavaScript, etc. The Go implementation is convenient, but not especially fast. Go … Continue reading The new Go JSON API: twice as fast, or 1.5x slower?
I’ve always avoided percentages when reporting relative performance. It never occurred to me that it is also possible to cause confusion by reporting “nX faster than” and “1/m X slower than”, rather than “mX as fast as”.
Yeah, I think performance comparisons are much clearer when written as a multiplier of the run time or operation rate (and you explicitly say which). Percentages and “faster”/“slower” are too ambiguous.
I’ve always avoided percentages when reporting relative performance. It never occurred to me that it is also possible to cause confusion by reporting “nX faster than” and “1/m X slower than”, rather than “mX as fast as”.
score 1 · canonical
Yeah, I think performance comparisons are much clearer when written as a multiplier of the run time or operation rate (and you explicitly say which). Percentages and “faster”/“slower” are too ambiguous.
score 2 · canonical