This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jbang run io.github.tulipltt:tulip-runtime:RELEASE --report benchmark_output.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "config": {"actions": {"description": "jsonplaceholder.typicode.com", "output_filename": "benchmark_output.json", "report_filename": "benchmark_report.html", "user_class": "APIUser", "user_params": {"url": "http://jsonplaceholder.typicode.com", "httpVersion": "HTTP_1_1", "connectTimeoutMillis": 5000, "readTimeoutMillis": 10000, "debug": false}, "user_actions": {"1": "GET:Get all posts", "2": "POST:Create post", "3": "GET:Get single post"}}, "contexts": {"Context-1": {"enabled": true, "num_users": 80, "num_tasks": 10}}, "benchmarks": {"REST1": {"time": {"warmup_duration1": 30, "warmup_duration2": 10, "benchmark_duration": 30, "benchmark_iterations": 3}, "aps_rate": 40.0, "scenario_actions": [{"id": 1, "weight": 3}, {"id": 2, "weight": 1}, {"id": 3, "weight": 2}]}}}, | |
| "benchmarks": { | |
| "REST1": { | |
| "context": {"num_users": 80, "name": "Context-1", "num_threads": 80}, "results": { | |
| "1": {"max_rtt": "2026-02-09T13:16:28", "AQS": 1.0041666666666667, "avg_aps": 40.0, "CPU_T": "0:00:03.0", "C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //KOTLIN 2.2.21 | |
| import org.slf4j.Logger | |
| import org.slf4j.LoggerFactory | |
| import io.github.tulipltt.tulip.user.HttpUser | |
| class APIUser : HttpUser() { | |
| // Action 1: GET /posts | |
| override fun action1(): Boolean { | |
| val response = httpGet("/posts") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //GROOVY 5.0.4 | |
| import org.slf4j.Logger | |
| import org.slf4j.LoggerFactory | |
| import io.github.tulipltt.tulip.user.HttpUser | |
| class APIUser extends HttpUser { | |
| // Action 1: GET /posts | |
| boolean action1() { |
OlderNewer