Skip to content
expressotsPublic

About

Analytics, comparison and validation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressoTS benchmark

Two measurements of ExpressoTS, each with everything needed to run it again.

Folder Question it answers How
agent/ Does a release make the framework easier for a coding agent to work with? An agent is given an ExpressoTS project and a short task: fix a mistake in it, or add a feature to it. A hidden check decides whether it succeeded. Turns, tokens and time are recorded, for one framework version against another.
http/ How fast does ExpressoTS answer requests, next to the servers it is built on and the framework it is compared with? The same route served by Fastify, Express, ExpressoTS (both of its APIs) and NestJS, measured with one load generator on one machine.

Results are in agent/results/ and http/results/. The agent benchmark's runs are summarised on the wiki.

Requirements

  • Node.js 22.18 or later. The harnesses are TypeScript files that Node runs directly; there is no build step and no dependency to install for them.
  • Linux with bubblewrap for agent runs that count. It confines the agent to its workspace, which is what keeps the hidden checks hidden.
  • For the agent benchmark: the agent program you want to measure, installed and signed in.

Run it

# Agent benchmark: check the tasks themselves (no model involved, costs nothing)
node agent/harness/run.ts --framework 4.3.1 --agent none --dry-run        # every task must fail
node agent/harness/run.ts --framework 4.3.1 --agent reference --dry-run   # every task must pass

# Agent benchmark: measure an agent on two versions, three runs each
node agent/harness/run.ts --framework 4.3.1,4.4.0 --agent claude --model sonnet --runs 3
node agent/harness/run.ts --framework 4.3.1,4.4.0 --agent codex --task build --runs 3   # one family only
node agent/harness/report.ts

# HTTP comparison
node http/run.ts --framework 4.3.1

To measure a version of ExpressoTS that is not published yet, point the harness at a built checkout of the monorepo:

node agent/harness/run.ts --framework 4.4.0-local --repo ../expressots --agent claude
node http/run.ts --framework local --repo ../expressots

What these numbers are not

  • Not a ranking of frameworks. The HTTP comparison includes servers that are faster than ExpressoTS, on purpose. A benchmark only the author can win is not evidence.
  • Not a ranking of agents. Turns are counted by each agent in its own way. The comparison that holds is one agent on two versions of the framework.
  • Not large. Two task families, eight tasks. The result files say how many runs stand behind each number.

Licence

MIT.

About

Analytics, comparison and validation

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages