MCPcopy Index your code
hub / github.com/deepu105/concurrency-benchmarks

github.com/deepu105/concurrency-benchmarks @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
50 symbols 74 edges 22 files 4 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Concurrency in modern programming languages

This is the code samples used for my blog series https://deepu.tech/concurrency-in-modern-languages/

The benchmarks were run using ApacheBench

Java

cd javaws && java src/JavaHTTPServer.java

# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/

Go

cd gows && go run main.go

# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/

Rust

cd rustws_async && cargo run --release

# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/

JS

cd jsws && node main.js

# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/

TS

cd tsws && deno run --allow-all main.ts

# in a new terminal
ab -c 100 -n 10000 http://localhost:8080/

Core symbols most depended-on inside this repo

start
called by 14
javaws/src/JavaAsyncHTTPServer.java
requestListener
called by 1
jsws/main.js
handle_connection
called by 1
rustws/src/main.rs
execute
called by 1
rustws/src/lib.rs
handleConnection
called by 1
gows_tcp/main.go
requestListener
called by 1
jsws_thread/main.js
handle_connection
called by 1
rustws_async/src/main.rs
run
called by 1
kotlinws/src/main/kotlin/Server.kt

Shape

Function 23
Method 16
Class 10
Enum 1

Languages

Rust46%
Java26%
Kotlin14%
Go8%
TypeScript6%

Modules by API surface

rustws/src/lib.rs6 symbols
javaws/src/JavaAsyncHTTPServer.java6 symbols
javaws/src/JavaHTTPServer.java5 symbols
kotlinws/src/main/kotlin/Server2.kt4 symbols
rustws_tokiominihttp/src/main.rs3 symbols
kotlinws/src/main/kotlin/Server.kt3 symbols
rustws_async_tokio/src/main.rs2 symbols
rustws_async_thread/src/main.rs2 symbols
rustws_async_smol/src/main.rs2 symbols
rustws_async_hyper/src/main.rs2 symbols
rustws_async/src/main.rs2 symbols
rustws/src/main.rs2 symbols

For agents

$ claude mcp add concurrency-benchmarks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact