Skip to content

Commit

Permalink
Reduced max tps rate
Browse files Browse the repository at this point in the history
  • Loading branch information
wfouche committed Jan 23, 2025
1 parent 21de16e commit 501932a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/kwrk/run_bench.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REM kwrk
if exist benchmark_report.html del benchmark_report.html
set JBANG_JAVA_OPTIONS=-server -Xms2g -Xmx2g -XX:+UseZGC -XX:+ZGenerational
jbang run kwrk.kt --rate 10000.0 --threads 2 --duration 30 --repeat 4 --url https://jsonplaceholder.typicode.com/posts/1
jbang run kwrk.kt --rate 10.0 --threads 2 --duration 30 --repeat 4 --url https://jsonplaceholder.typicode.com/posts/1
@echo off
echo.
REM w3m.exe -dump -cols 205 benchmark_report.html
Expand Down
2 changes: 1 addition & 1 deletion apps/kwrk/run_bench.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
rm -f benchmark_report.html
export JBANG_JAVA_OPTIONS="-server -Xms2g -Xmx2g -XX:+UseZGC -XX:+ZGenerational"
jbang run kwrk.kt --rate 10000.0 --threads 2 --duration 30 --repeat 4 --url https://jsonplaceholder.typicode.com/posts/1
jbang run kwrk.kt --rate 10.0 --threads 2 --duration 30 --repeat 4 --url https://jsonplaceholder.typicode.com/posts/1
echo ""
#w3m -dump -cols 205 benchmark_report.html
lynx -dump -width 205 benchmark_report.html
Expand Down

0 comments on commit 501932a

Please sign in to comment.