article thumbnail

Mangling JSON numbers

TechEmpower

If we have a long (64-bit integer) that we serialize into JSON, we might be in trouble if JavaScript consumes that JSON. JavaScript has the equivalent of double (64-bit floating point) for its numbers, and double cannot represent the same set of numbers as long. The output of x.toString() in JavaScript is suspicious.

article thumbnail

Frameworks Round 1

TechEmpower

How we designed the tests. For example, we used Sequelize for the JavaScript MySQL tests. JavaScript. Why doesn''t your test include more substantial algorithmic work, or building an HTML response with a server-side template?" This exercise aims to provide a "baseline" for performance across the variety of frameworks.

Framework 544
article thumbnail

Framework Benchmarks

TechEmpower

How we designed the tests. For example, we used Sequelize for the JavaScript MySQL tests. JavaScript. Why doesnt your test include more substantial algorithmic work, or building an HTML response with a server-side template?" This exercise aims to provide a "baseline" for performance across the variety of frameworks.

Framework 560