mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Show benchmark throughput
This commit is contained in:
1 parent
4b1b2972e9
commit
73a77b8dcc
2 files changed
+2
No files matched your search
@@ -891,6 +891,7 @@ jobs:
|
||||
const topWaits = topSamples(afterSamples, 'appwrite_http_waiting', 3);
|
||||
|
||||
const rows = [
|
||||
row('HTTP throughput', metricValue(before, 'http_reqs', 'rate'), metricValue(after, 'http_reqs', 'rate'), ' req/s'),
|
||||
row('HTTP total p95', metricValue(before, 'appwrite_http_duration', 'p(95)'), metricValue(after, 'appwrite_http_duration', 'p(95)'), 'ms'),
|
||||
row('API endpoints p95', metricValue(before, 'appwrite_api_duration', 'p(95)'), metricValue(after, 'appwrite_api_duration', 'p(95)'), 'ms'),
|
||||
row('Database worker p95', metricValue(before, 'appwrite_worker_database_duration', 'p(95)'), metricValue(after, 'appwrite_worker_database_duration', 'p(95)'), 'ms'),
|
||||
|
||||
@@ -1000,6 +1000,7 @@ function loadPreviousSummary() {
|
||||
|
||||
function comparisonTable(before, after) {
|
||||
const rows = [
|
||||
['HTTP throughput', trendMetric(before, 'http_reqs', 'rate'), trendMetric(after, 'http_reqs', 'rate'), ' req/s'],
|
||||
['HTTP total p95', trendMetric(before, 'appwrite_http_duration', 'p(95)'), trendMetric(after, 'appwrite_http_duration', 'p(95)'), 'ms'],
|
||||
['API endpoints p95', trendMetric(before, 'appwrite_api_duration', 'p(95)'), trendMetric(after, 'appwrite_api_duration', 'p(95)'), 'ms'],
|
||||
['Database worker p95', trendMetric(before, 'appwrite_worker_database_duration', 'p(95)'), trendMetric(after, 'appwrite_worker_database_duration', 'p(95)'), 'ms'],
|
||||
|
||||
Reference in new issue
Block a user