Framework Benchmarks

TechEmpower

Framework Benchmarks. How much does your framework choice affect performance? Authors Note: Were using the word "framework" loosely to refer to platforms, micro-frameworks, and full-stack frameworks. Plain Go delivers the best showing for a non-JVM framework.

Frameworks Round 1

TechEmpower

You are viewing the first round of web application framework benchmarks. Check out the new stand-alone framework benchmarks site if you are interested in the latest and most accurate data. How much does your framework choice affect performance? JavaScript.

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. If we store 2 53 + 1 in a long and that number is meant to be precise, then we should avoid encoding it as a JSON number and sending it to a JavaScript client. The output of x.toString() in JavaScript is suspicious.

Everything about Java 8

TechEmpower

At the time of this writing, Java 8 development is still very much in progress. It is essentially another way of writing Collections.newSetFromMap(new ConcurrentHashMap ()). It performs better than RRWL when used as a plain read-write lock. Is also provides an API for "optimistic reads", where you obtain a weak, cheap version of a read lock, do the read operation, then check afterwards if your lock was invalidated by a write. Nashorn JavaScript Engine.

Java 440

Pragmatism with Flavor

TechEmpower

Sure we still get excited and animated about a new JavaScript library, a new CSS trick, a new device, or a new data store. But a newly minted developer given access to Hacker News can develop ADD in a week's time, waste countless hours reading the opinions of professional and amateur technology opinion-makers, and nervously fidget about selecting the hippest framework and libraries to (briefly) avoid the scorn of hacker pop culture.