Boost the performance of your Node.js Servers, effortless.

  • Improve your API's response time
  • Get the best of every CPU in a single process
  • Run everywhere: VM, Docker & Serverless
Benchmark results for GraphQL, TensorFlow, JSON Processing, Image Manipulations and Computations with and without WarpJS

Showcase

This video shows an example of a GraphQL API improvement achieved using WarpJS MCP.

Just after loading, the client sends one GraphQL request per article. On the left side, you will get the original version of the website using a standard GraphQL on Node.js.

On the right side, we used WarpJS Multi Core Processing to parallelize the GraphQL requests.

By using the server at its full potential (in this example, 8 CPUs), loading time is reduced from 5.5s to 2.3s!

Improve the performance your Node.js servers with WarpJS

Some use cases

API/Proxy ExpressJS Server

Warp all ExpressJS requests to support more requests at a time, or warp inside a request to reduce request time. Using GraphQL, fetch your data more quickly. Create a high performance gateway/proxy for your queries.

Machine learning: TensorFlow

Warp each inference to support more requests, or warp inside a TensorFlow request to reduce inference time.

Content manipulation

Convert images or compress content on the fly very quickly. Create your own gateway/proxy to reduce the content size to download and save loading time.

JSON processing

Do faster preprocessing in parallel on the server and reduce your response time.

Your use case?

We can speed up any kind of JavaScript. Got a use case? Tell us what you have in mind!

Benchmark Results

We designed a set of benchmark to measure the number of server requests per second without/with WarpJS. On average, the number of requests per second is increased by a factor 5.5 for a 8-CPU machine!

WarpJS has an average 5.5 speed factor

'ab' tool has been used to get the results.
Server used: CPU Intel i7-7700 4 cores/8 threads - 4.2GHz - 32GB RAM.

ExpressJS/GraphQL

This benchmark realizes for one request a graphQL query. It shows we can have a significant boost with just few line of code changes.

Benchmark results for GraphQL with and without WarpJS. WarpJS speeds up GraphQL by 4.5

ExpressJS/Tensorflow

In this benchmark, each request realizes a tensorflow inference, again small code changes have been done to get this benchmark warped.

Benchmark results for TensorFlow with and without WarpJS. WarpJS speeds up Tensorflow JS by 10

ExpressJS/JSON processing

The request processes a JSON data and computes results to be sent back to the frontend.

Benchmark results for JSON Processing with and without WarpJS. WarpJS speeds up JSON processing by 3

ExpressJS/Image manipulation

Each request transforms one image to be blurred with different levels using the JSManipulate library.

Benchmark results for Image Manipulation with and without WarpJS. WarpJS speeds up Image Manipulation by 6

ExpressJS/Computations

This benchmark multiply 2 matrices at each request. In that case we have applied Warp to accelerate the matrix multiplication operator.

Benchmark results for Computations with and without WarpJS. WarpJS speeds up Computations  by 4

Speedup comparison

We've also run two benchmarks on different server configurations (on Google Cloud Engine), starting from a 1 CPU to a 96 CPU machine, in order to analyze the linearity of the WarpJS acceleration.

Computation

The computation benchmark results showed that the speedup achieved with WarpJS is excellent. It is very close to the linear theoretical speedup (90 for 96 CPU machine). The graph below shows that the WarpJS use of all CPUs is nominal.

Tensorflow Inferences

For TensorFlow inferences, the speedup is also linear, proving again the excellent parallelization achieved with WarpJS Multi Core Processing.

How to use

WarpJS can be used directly on your business code using our WarpJS API and our Visual Studio Code extension. It is compatible with your existing building process.

We also provide some third party scripts or modules ready to use in your existing projects (see below). By using them you can speed up your JavaScript application or server by only adding a few lines of code.

Have a look at our product documentation for device/server to know how to build and execute your code.

Your business code

Use WarpJS API on your proprietary code using our SDK and VSCode extension

Third party scripts or modules

Use one of our 'warped' script or module ready to import in your projects

Some supported packages

Here are some examples of JavaScript libraries WarpJS is compatible with.

Improve your GraphQL performance with WarpJS
GraphQL
Improve the performance of Vue.js with WarpJS
Vue.js
Improve the performance of Express js with WarpJS
Express
Improve the performance of Apollo GraphQL with WarpJS
Apollo

Get your lib compatible with WarpJS

Improve the performance of your lib
Your lib?

By implementing the Warp API, you can get your lib compatible with WarpJS. As a result, all the applications including your lib will be eligible to run at warp speed! Read the documentation to learn how to implement the warp API.