Skip to content

About

πŸ“Š Open-source real-world benchmark suite comparing LykosJS, Elysia, Gin, Express, and NestJS across 10 scenarios: Hello World, JSON, large payloads, CPU-bound, routing, JWT, validation, pipelining, Socket.IO, and stress testing. Transparent methodology, reproducible results.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LykosJS V1.0.0 Real-World Benchmark Suite β€” November 27, 2026

Beyond Hello World. Beyond Marketing Numbers.

An open-source benchmarking suite for evaluating backend frameworks under different workloads.


Overview

LykosJS Real-World Benchmark Suite is an open-source project designed to evaluate and compare backend frameworks across multiple performance scenarios.

Traditional HTTP benchmarks often focus on a single operation, such as returning plain text. While these tests are useful for measuring raw HTTP performance, they do not necessarily represent the different workloads that backend applications encounter.

This project takes a broader approach.

Instead of measuring only how many requests a framework can handle, we evaluate different aspects of backend performance, including:

  • HTTP request handling.
  • JSON serialization and response generation.
  • Large response payload handling.
  • CPU-intensive workloads.
  • Dynamic route matching.
  • JWT verification.
  • Request body validation.
  • HTTP pipelining.
  • Socket.IO message handling.
  • High-concurrency stress testing.
  • Latency, errors, timeouts, and memory consumption.

Our goal is to provide developers with meaningful, reproducible performance data that helps them make informed engineering decisions.

No marketing numbers. No hidden failures. Just measurable results.

Benchmark Philosophy

We believe that a useful benchmark should answer more than one question.

A framework might achieve impressive throughput in a simple HTTP test but behave differently when handling large payloads, authentication, validation, CPU-intensive operations, or thousands of concurrent connections.

That is why this project evaluates several dimensions of performance.

Metric What it measures
Requests/sec (RPS) Number of requests processed per second
Average Latency Average request response time
P99 Latency Response time experienced by 99% of requests
Errors Failed requests reported by the benchmark client
Timeouts Requests that exceeded the configured timeout
Peak RSS Peak resident memory usage observed during a test
Memory Growth Difference between idle memory and memory after the workload

A high RPS number alone does not necessarily indicate a better-performing framework.

Latency, reliability, workload characteristics, and resource consumption matter too. The benchmark reports failures alongside throughput so that high request rates are not presented without their reliability context.

Tested Frameworks

The benchmark suite currently includes:

Framework Language / Runtime
LykosJS v1.0.0 TypeScript / Bun
Elysia TypeScript / Bun
Gin Go
Express JavaScript / Node.js
NestJS TypeScript / Node.js

The LykosJS results in the latest benchmark run were collected using LykosJS v1.0.0.

The project is designed to support additional frameworks and runtimes. Contributions that introduce new frameworks are welcome, provided they follow the same benchmark requirements.

Benchmark Scenarios

The current benchmark suite includes ten scenarios.

1. Hello World

Purpose: Measure baseline HTTP request-handling performance.

  • Simple HTTP endpoint.
  • Minimal application logic.
  • 256 concurrent connections.

This scenario helps evaluate the overhead introduced by the framework and its HTTP handling layer.

2. JSON Serialization

Purpose: Evaluate JSON response generation and delivery.

  • JSON response containing 50 items.
  • 256 concurrent connections.

This scenario introduces serialization and response-generation work compared with a simple text response.

3. Large Payload

Purpose: Evaluate the handling and delivery of larger response bodies.

  • Approximately 400 KB response payload.
  • 64 concurrent connections.

This scenario helps reveal differences in throughput, latency, and memory behavior when transferring larger responses.

4. CPU-Bound

Purpose: Evaluate performance under computational workloads.

  • Fibonacci(25).
  • 100 concurrent connections.

CPU-bound results are influenced by runtime execution models, CPU scheduling, and concurrency handling. They should not be interpreted as a direct measurement of framework performance alone.

5. Dynamic Routes

Purpose: Measure routing performance with multiple dynamic path parameters.

  • Route: /users/:id/posts/:postId.
  • 256 concurrent connections.

This scenario evaluates request handling when the framework must match and extract multiple route parameters.

6. JWT Verification

Purpose: Evaluate authentication-related request overhead.

  • JWT verification using HS256.
  • 256 concurrent connections.

This scenario measures the combined cost of handling a request and verifying its token using each implementation's selected JWT approach.

7. POST Body Validation

Purpose: Evaluate request parsing and validation performance.

  • POST request with a JSON body.
  • 256 concurrent connections.

This scenario measures the overhead of processing and validating incoming request data.

8. HTTP Pipelining

Purpose: Evaluate request handling when multiple HTTP requests are sent over a connection without waiting for each individual response.

  • Pipelining factor: 10.
  • 256 concurrent connections.

This scenario helps examine throughput, latency, and error behavior under pipelined workloads.

9. Socket.IO Echo

Purpose: Evaluate real-time message handling.

  • Socket.IO echo workload.
  • 50 clients.

This scenario measures message throughput and latency for a real-time communication workload. Its message-per-second results should be distinguished from HTTP requests-per-second results.

10. Stress JSON

Purpose: Evaluate behavior under high concurrency with JSON responses.

  • JSON response workload.
  • 1,000 concurrent connections.

This scenario focuses on throughput, latency degradation, errors, and timeouts under heavier load.


Latest Benchmark Results

The latest benchmark run was conducted on November 27, 2026, using LykosJS v1.0.0.

The suite completed two rounds for each scenario. The final report uses the median result from those rounds.

The overall ranking produced by this run was:

Rank Framework Overall Score
1 Gin (Go) 88.2
2 Elysia (Bun) 80.0
3 LykosJS v1.0.0 (Bun) 68.2
4 Express (Node.js) 33.0
5 NestJS (Node.js) 29.9

Scores are normalized per scenario, with 100 representing the best result for that metric. The overall score is the aggregate reported by the benchmark runner; it is not a universal framework quality rating.

Key Observations

  • Gin achieved the highest overall score in this benchmark run, with particularly strong results in HTTP throughput, CPU-bound processing, routing, JWT verification, and validation.
  • Elysia performed strongly across the Bun-based tests, leading several scenarios including large payload handling and stress JSON.
  • LykosJS v1.0.0 ranked third overall. It showed competitive results in HTTP handling, JSON responses, dynamic routes, pipelining, and Socket.IO.
  • LykosJS recorded the lowest memory growth after the workload in the final memory report.
  • The POST body validation scenario remains an area for improvement in LykosJS.
  • Under the stress JSON workload, LykosJS completed the test with no reported errors or timeouts, while some competing implementations reported errors.

These observations apply only to this benchmark configuration and machine. They should not be treated as universal performance rankings.

Test Environment

The latest results were collected using the following environment:

Component Specification
Operating System Windows
Processor 12th Gen Intel Core i5-1235U
Logical Processors 12
Total RAM 7.6 GB
Available RAM before benchmark Approximately 1.5 GB
Benchmark Client Workers 4
Warmup Duration 3 seconds
Benchmark Duration 10 seconds per round
Number of Rounds 2
Result Aggregation Median
Server / Client Same machine
Tested LykosJS Version v1.0.0

Concurrency Configuration

Scenario Connections / Clients
Hello World 256
JSON Serialization 256
Large Payload 64
CPU-bound 100
Dynamic Routes 256
JWT Verification 256
POST Body Validation 256
HTTP Pipelining 256
Socket.IO Echo 50 clients
Stress JSON 1,000

Environment Limitations

The benchmark client and application servers ran on the same physical machine.

This can introduce CPU and resource contention between the client and the servers. Available memory was also limited during the run.

For these reasons, the results should be treated as local comparative measurements rather than definitive cross-platform performance rankings.

Future benchmark runs should use separate machines for the benchmark client and application servers whenever possible. Repeating the tests on different hardware and operating systems would also help establish how consistently the results hold across environments.

Fairness and Reproducibility

Fairness is a core principle of this project.

We aim to ensure that all frameworks perform equivalent work under equivalent conditions.

Our benchmark methodology follows these principles:

  1. Equivalent workloads: Each framework must implement the same application behavior.
  2. Equivalent responses: Response payloads must match the expected output.
  3. Consistent concurrency: The same connection configuration is used for comparable tests.
  4. Consistent duration: Benchmark duration and warmup settings are documented.
  5. Rotating server order: Framework execution order rotates between rounds to reduce ordering bias.
  6. Transparent failures: Errors and timeouts are reported rather than silently discarded.
  7. Documented environments: Hardware, operating system, and runtime versions must be recorded.
  8. Reproducibility: Benchmark implementations and execution instructions should be publicly available.

The benchmark runner also checks server availability and response consistency before starting the tests.

We encourage independent verification. If you believe a benchmark implementation is unfair or incorrect, open an issue with a reproducible example.

How to Reproduce

The benchmark suite is intended to be reproducible by anyone.

The benchmark runner and framework implementations should document:

  • Required runtimes and dependencies.
  • Framework installation instructions.
  • Server startup commands.
  • Benchmark execution commands.
  • Result collection and aggregation.
  • Environment configuration.

All benchmark commands and implementation-specific instructions should be documented alongside the corresponding test.

The latest run was started with:

node index.js

Run the benchmark from the project directory after installing the required dependencies and starting or configuring the framework servers as described by the implementation.

Contributing

Contributions are welcome!

You can contribute by:

  • Adding support for another backend framework.
  • Improving benchmark implementations.
  • Identifying unfair test conditions.
  • Improving result collection and reporting.
  • Adding new workload scenarios.
  • Reproducing existing results on different hardware.
  • Reporting bugs or inconsistencies.

Contribution Guidelines

Every new framework implementation should:

  • Implement equivalent functionality.
  • Return the expected response.
  • Include all required setup instructions.
  • Document its runtime and dependencies.
  • Avoid benchmark-specific shortcuts that change the intended workload.
  • Pass the same correctness checks as other implementations.
  • Report errors and timeouts accurately.

Please open an issue before introducing a substantially different benchmark methodology.

Roadmap

  • Publish all benchmark implementation source code.
  • Add a reproducible PlainText benchmark.
  • Add PostgreSQL benchmark scenarios.
  • Add P95 latency reporting.
  • Add CPU utilization measurements.
  • Support independent benchmark clients.
  • Expand testing to Linux and macOS.
  • Increase the number of benchmark rounds.
  • Introduce automated result collection.
  • Encourage community-submitted benchmark results.

Frequently Asked Questions

Is this an official TechEmpower benchmark?

No.

This is an independent open-source benchmark suite with its own scenarios and methodology.

TechEmpower results can be used as an additional reference, but results from different benchmark environments should not be directly compared.

Does this project claim that LykosJS is the fastest framework?

No.

The purpose of this project is to compare frameworks under documented workloads, not to promote a particular framework.

LykosJS is included as one of the tested frameworks, and its results are presented alongside the results of other implementations. In the latest run, LykosJS v1.0.0 ranked third overall.

Why include CPU-bound benchmarks?

Because backend applications sometimes perform computational work in addition to handling HTTP requests.

However, CPU-bound tests are strongly influenced by the underlying runtime and concurrency model, so they should be interpreted separately from ordinary HTTP benchmarks.

Why include validation, JWT, and Socket.IO tests?

Backend applications do more than return HTTP responses. They commonly validate incoming data, authenticate requests, and handle real-time communication.

These scenarios provide additional insight into how frameworks and their surrounding implementations behave under more varied workloads.

Are the latest results definitive?

No.

They represent a local benchmark run using two rounds on one machine. More rounds, independent machines, additional hardware configurations, and community reproduction are needed to establish broader conclusions.

Can I add my own framework?

Absolutely!

We welcome contributions from developers who want to extend the benchmark suite to other languages and runtimes.


License

This project is licensed under the MIT License.

Acknowledgements

This project is inspired by the open-source backend community and the developers who build, test, and improve web frameworks.

Special thanks to the maintainers and contributors of:

  • LykosJS
  • Elysia
  • Gin
  • Express
  • NestJS

Built for developers. Measured with transparency.
No marketing numbers. Just reproducible benchmarks.

About

πŸ“Š Open-source real-world benchmark suite comparing LykosJS, Elysia, Gin, Express, and NestJS across 10 scenarios: Hello World, JSON, large payloads, CPU-bound, routing, JWT, validation, pipelining, Socket.IO, and stress testing. Transparent methodology, reproducible results.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages