{"id":500070,"date":"2026-10-23T21:16:24","date_gmt":"2026-10-23T18:16:24","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=500070"},"modified":"2026-10-23T21:16:24","modified_gmt":"2026-10-23T18:16:24","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=500070","title":{"rendered":"Perfscale news #16. SDK Report API, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u0434 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 pro \u043c\u043e\u0434\u0443\u043b\u0438"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438! \u0421\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043f\u0440\u043e\u0448\u043b\u044b\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u043c \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443:<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u043e\u0448\u043b\u044b\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0438<\/summary>\n<div class=\"spoiler__content\">\n<ul>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1057960\/\" rel=\"noopener nofollow\">\u041d\u043e\u0432\u043e\u0441\u0442\u0438 Perfscale \u2116\u00a01<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1058616\/\" rel=\"noopener nofollow\">Perfscale news #2: Fix Protocol, Magic metrics \u0438\u00a0MCP<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1061118\/\" rel=\"noopener nofollow\">perfscale news #3\u00a0Websocket, Inference, NPM<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1064292\/\" rel=\"noopener nofollow\">Perfscale news #4. GRPC, Fixed Triggers, Child Process<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1067192\/\" rel=\"noopener nofollow\">Perfscale news #5. SQL, Thresholds, \u043d\u0435\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0435 Linked Accounts<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1069752\/\" rel=\"noopener nofollow\">Perfscale news #6. GraphQL, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Import, \u0438\u00a0\u043c\u0435\u0442\u0440\u0438\u043a\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1072902\/\" rel=\"noopener nofollow\">Perfscale news #7. Fix Import, SOAP, and more HTTP metrics<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1075678\/\" rel=\"noopener nofollow\">Perfscale news #8. WS\u00a0Benchmark, Jmeter open sourced &amp; fixed linked accounts<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1077874\/\" rel=\"noopener nofollow\">Perfscale news #9. GPU, LLM, Docker images<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1081272\/\" rel=\"noopener nofollow\">Perfscale news #10. Shared variables, Pub\/Sub load testing &amp; live metrics<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1083982\/\" rel=\"noopener nofollow\">Perscale news #11. Fine\u2011grained token, SQID, stdout log streaming<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1086894\/\" rel=\"noopener nofollow\">Perfscale news #12. WASM\u2011\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, SDK \u0434\u043b\u044f\u00a0\u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0438 \u00ab\u0436\u0438\u0432\u044b\u0435\u00bb \u043b\u043e\u0433\u0438<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1089710\/\" rel=\"noopener nofollow\">Perfscale news #13. \u0412\u044b\u0436\u0438\u0433\u0430\u043d\u0438\u0435 WASM \u043c\u043e\u0434\u0443\u043b\u0435\u0439, http3\u00a0\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 postmortem<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1091612\/\" rel=\"noopener nofollow\">Perfscale news #14. \u0424\u0438\u043a\u0441 fix, api reference \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 webrtc<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/news\/1095374\/\" rel=\"noopener nofollow\">Perfscale news #15. \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 bench, \u0438 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/details>\n<p>\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u043b, \u0447\u0442\u043e \u043c\u0438\u043d\u0443\u0442\u044b GitHub Actions \u043f\u043e\u0447\u0442\u0438 \u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043d\u0438 \u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c \u0441\u043e\u0432\u0441\u0435\u043c(\u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043c\u0435\u0441\u044f\u0446\u0430), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u043b\u0438\u0437 \u0430\u0433\u0435\u043d\u0442\u0430 0.6.0 \u0441\u043e\u0431\u0440\u0430\u043d, \u043d\u043e \u0435\u0449\u0451 \u043d\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d. \u041e\u0431\u043e \u0432\u0441\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 perfscale oss. \u0428\u0443\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u0442\u044c \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043a\u0438\u043d\u0443\u0442\u044c &#171;\u043f\u0430\u0440\u0443 \u0431\u0430\u043a\u0441\u043e\u0432&#187; \u0441\u0432\u0435\u0440\u0445\u0443. \u0410 \u0442\u043e \u0431\u0435\u0437 actions \u043d\u0438\u043a\u0430\u043a. \u0412 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u043d\u0435\u0440 \u0438\u0437 \u0434\u043e\u043c\u0430. \u041f\u043e\u043a\u0430 \u0434\u0443\u043c\u0430\u044e \u043d\u0430\u0434 \u044d\u0442\u0438\u043c.<\/p>\n<h2>Perfscale OSS<\/h2>\n<h3>Report SDK API<\/h3>\n<p>\u0420\u0430\u043d\u044c\u0448\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0433\u043e\u043d\u0430 \u0436\u0438\u043b \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445: \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0438 \u0432 <code>perfscale serve<\/code>\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f  \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u044d\u0441\u0442\u0435\u0442\u0438\u043a\u0438. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c JUnit \u0434\u043b\u044f CI \u0438\u043b\u0438 HTML \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 JSON, \u0447\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043f\u043e\u0432\u0435\u0440\u0445 JSON. \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0435\u0441\u0442\u044c \u0441\u0435\u043a\u0446\u0438\u044f <code>reporters<\/code>:<\/p>\n<pre><code class=\"yaml\"># file: config.yamlreport:  reporters:    - use: std\/report\/json@v1      with: { path: report.json }    - use: std\/report\/junit@v1      with: { path: junit.xml }    - use: std\/report\/html@v1      # \u043e\u0434\u0438\u043d HTML-\u0444\u0430\u0439\u043b, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430      with: { path: report.html }    - use: wasm:.\/reporters\/summary.wasm<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<p>\u0412\u0441\u0435 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u044b \u0447\u0438\u0442\u0430\u044e\u0442 \u043e\u0434\u043d\u0443 \u043c\u043e\u0434\u0435\u043b\u044c <code>report@v1<\/code>: \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0433\u043e\u043d\u0430, \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u044b \u043f\u043e \u0448\u0430\u0433\u0430\u043c, \u0432\u0441\u0435 thresholds \u0438 \u0441\u044b\u0440\u044b\u0435 \u0441\u044d\u043c\u043f\u043b\u044b, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043d\u0443\u0436\u043d\u044b. \u0412 JUnit \u043a\u0430\u0436\u0434\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438\u0437 <code>thresholds<\/code> \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c test case. CI \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a\u043e\u0439 \u043f\u043e\u0440\u043e\u0433 \u0443\u043f\u0430\u043b, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u00abexit 1\u00bb.<\/p>\n<p><code>std\/report\/html@v1<\/code> \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0442\u0447\u0451\u0442 \u0432 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0432 \u0442\u0451\u043c\u043d\u043e\u0439 \u0442\u0435\u043c\u0435, \u0431\u0435\u0437 CDN \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0448\u0440\u0438\u0444\u0442\u043e\u0432. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u0442\u044c \u043a \u0437\u0430\u0434\u0430\u0447\u0435 \u0432 \u0442\u0440\u0435\u043a\u0435\u0440\u0435 \u0438\u043b\u0438 \u043a \u043f\u0438\u0441\u044c\u043c\u0443, \u0447\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e<\/p>\n<p>JSON-\u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0442\u0447\u0451\u0442 \u043f\u043e HTTP. \u0412 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 <code>${VAR}<\/code>. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u0445\u043e\u0441\u0442\u0435 \u0438 \u043d\u0435 \u043f\u0438\u0448\u0443\u0442\u0441\u044f \u0432 \u043b\u043e\u0433\u0438:<\/p>\n<pre><code class=\"yaml\"># file: config.yamlreport:  reporters:    - use: std\/report\/json@v1      with:        url: https:\/\/collector.example.com\/reports        headers: { Authorization: \"Bearer ${REPORT_TOKEN}\" }<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p><strong>\u0421\u0432\u043e\u0438 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u044b \u043d\u0430 WASM!<\/strong> \u0415\u0441\u043b\u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043c\u0430\u043b\u043e, \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u043a\u0430\u043a WASM-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <code>perfscale:reporter@0.1.0<\/code>. \u0412 TypeScript SDK (<code>@perfscale\/library-sdk<\/code>) \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c <code>defineReporter<\/code> \u0438 \u0441\u0431\u043e\u0440\u043a\u0430 <code>--kind reporter<\/code>(\u043b\u0443\u0447\u0448\u0435\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b. \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e SDK \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u043e perfscale\/sdk, \u043d\u043e \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043b\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u043c\u0435\u043d\u044f). \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u0430 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c: <a href=\"https:\/\/github.com\/Perfscale\/allure2-reporter\" rel=\"noopener nofollow\">perfscale\/allure2-reporter <\/a>\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 report@v1 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b Allure. \u041f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 + \u0442\u0430\u043c\u0436\u0435 \u0435\u0441\u0442\u044c github actions \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0435\u0433\u043e \u0437\u0430\u0446\u0435\u043d\u0438\u0442\u044c: <a href=\"https:\/\/github.com\/Perfscale\/github-action\" rel=\"noopener nofollow\">perfscale\/github-action<\/a>.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b WASM \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u043b \u043a\u043e\u043d\u0435\u0446 \u043f\u0440\u043e\u0433\u043e\u043d\u0430, \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u0442\u0441\u044f: \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <code>perfscale install &lt;your reporter | path&gt;<\/code> \u043f\u0440\u043e\u0433\u0440\u0435\u0432\u0430\u0435\u0442 \u043a\u044d\u0448 \u0437\u0430\u0440\u0430\u043d\u0435\u0435.<\/p>\n<h3>\u0423\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 Pub\/Sub<\/h3>\n<p>\u0420\u0430\u043d\u044c\u0448\u0435 <code>std\/pubsub@v1<\/code> \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0431\u0440\u043e\u043a\u0435\u0440\u043e\u043c \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u00ab\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0432\u044b\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u00bb \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u2014 \u043d\u0435\u0442. \u041f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430:<\/p>\n<ul>\n<li>\n<p><code>scope: vu<\/code> \u2014 \u043e\u0434\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 VU \u043d\u0430 \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0433\u043e\u043d (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code>scope: exchange<\/code>, \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e. \u0422\u0430\u043a \u0431\u044b\u043b\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e);<\/p>\n<\/li>\n<li>\n<p><code>flush: none<\/code> \u2014 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0431\u0435\u0437 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u0430 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code>flush: message<\/code>, \u0436\u0434\u0451\u043c ack \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u0430).<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0438 <code>pubsub_publish_ms<\/code>, <code>pubsub_errors<\/code> \u0438 <code>pubsub_connect_ms<\/code>: \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u043e\u0438\u0442 \u0441\u0430\u043c\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435. <\/p>\n<p>\u0412 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0439 bench \u0432\u043e\u0448\u0451\u043b \u043d\u0430\u0431\u043e\u0440 pubsub \u043f\u0440\u043e\u0442\u0438\u0432 NATS. \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432\u0437\u044f\u0442 k6 \u0441\u043e \u0441\u0431\u043e\u0440\u043a\u043e\u0439 xk6 + xk6-nats: \u0432 \u0441\u0442\u043e\u043a\u043e\u0432\u043e\u043c k6 \u043c\u043e\u0434\u0443\u043b\u044f NATS \u043d\u0435\u0442. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u0432 CI (10 VU, 10 \u0441, payload ~256 \u0431\u0430\u0439\u0442):<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th data-colwidth=\"370\" width=\"370\">\n<p align=\"left\">\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439<\/p>\n<\/th>\n<th>\n<p align=\"left\">Msg\/s<\/p>\n<\/th>\n<th>\n<p align=\"left\">CPU \u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435<\/p>\n<\/th>\n<th>\n<p align=\"left\">Peak RSS<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td data-colwidth=\"370\" width=\"370\">\n<p align=\"left\">perfscale (publish, cold)<\/p>\n<\/td>\n<td>\n<p align=\"left\">3 846<\/p>\n<\/td>\n<td>\n<p align=\"left\">221.5 \u00b5s<\/p>\n<\/td>\n<td>\n<p align=\"left\">22.3 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"370\" width=\"370\">\n<p align=\"left\">k6 xk6-nats (publish, cold)<\/p>\n<\/td>\n<td>\n<p align=\"left\">3 107<\/p>\n<\/td>\n<td>\n<p align=\"left\">418.0 \u00b5s<\/p>\n<\/td>\n<td>\n<p align=\"left\">53.7 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"370\" width=\"370\">\n<p align=\"left\">perfscale (publish, warm, \u0436\u0434\u0451\u043c ack)<\/p>\n<\/td>\n<td>\n<p align=\"left\">89 923<\/p>\n<\/td>\n<td>\n<p align=\"left\">23.8 \u00b5s<\/p>\n<\/td>\n<td>\n<p align=\"left\">23.6 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"370\" width=\"370\">\n<p align=\"left\">perfscale (publish, warm, <code>flush: none<\/code>)<\/p>\n<\/td>\n<td>\n<p align=\"left\">348 435<\/p>\n<\/td>\n<td>\n<p align=\"left\">9.6 \u00b5s<\/p>\n<\/td>\n<td>\n<p align=\"left\">25.7 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"370\" width=\"370\">\n<p align=\"left\">k6 xk6-nats (publish, warm)<\/p>\n<\/td>\n<td>\n<p align=\"left\">141 469<\/p>\n<\/td>\n<td>\n<p align=\"left\">24.1 \u00b5s<\/p>\n<\/td>\n<td>\n<p align=\"left\">173.9 MiB<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041a\u0430\u043a \u044d\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u044c:<\/p>\n<ul>\n<li>\n<p><strong>cold<\/strong> \u2014 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438. perfscale \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0442\u0440\u0430\u0442\u0438\u0442 \u0432\u0434\u0432\u043e\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 CPU \u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<\/p>\n<\/li>\n<li>\n<p><strong>warm \u0441 ack<\/strong> \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 k6, \u0438 \u044d\u0442\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e: xk6-nats \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0436\u0434\u0451\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u0430. \u0411\u043e\u043b\u0435\u0435 \u0447\u0435\u0441\u0442\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 k6 \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 \u0441 <code>flush: none<\/code>: 348K \u043f\u0440\u043e\u0442\u0438\u0432 141K msg\/s \u043f\u0440\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 7 \u0440\u0430\u0437 \u043c\u0435\u043d\u044c\u0448\u0435!<\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u0440\u043e\u043a\u0438, \u0433\u0434\u0435 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0432 \u0442\u043e\u043c \u0436\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u0447\u0442\u043e \u0438 \u0441\u0435\u0440\u0432\u0438\u0441, \u044f \u0438\u0437 bench \u0443\u0431\u0440\u0430\u043b, \u0430 \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u0447\u0435\u0441\u0442\u043d\u043e \u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 RPS \u0432\u044b\u0434\u0430\u0432\u0430\u043b!<\/p>\n<\/li>\n<\/ul>\n<h2>\u0423\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 SQL<\/h2>\n<p>\u0414\u043b\u044f <code>std\/db-*<\/code> \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u044f: <code>scope: vu<\/code> \u0434\u043b\u044f <code>db-connect<\/code> \u043e\u043f\u0446\u0438\u0438 \u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f\u043c\u0438. \u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c <code>prepared: true<\/code> \u0434\u043b\u044f prepared statements \u0438 <code>store_rows: false<\/code>, \u0447\u0442\u043e\u0431\u044b \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438, \u043d\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u044f \u0438\u0445. \u041d\u0443 \u0438 \u0432\u044b\u0434\u0435\u0440\u0436\u043a\u0430 \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043c\u0435\u0442\u0440\u0438\u043a:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th data-colwidth=\"312\" width=\"312\">\n<p align=\"left\">\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439<\/p>\n<\/th>\n<th>\n<p align=\"left\">QPS<\/p>\n<\/th>\n<th>\n<p align=\"left\">p95 ms<\/p>\n<\/th>\n<th>\n<p align=\"left\">Peak RSS<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td data-colwidth=\"312\" width=\"312\">\n<p align=\"left\">perfscale (warm vu)<\/p>\n<\/td>\n<td>\n<p align=\"left\">12 739<\/p>\n<\/td>\n<td>\n<p align=\"left\">1.18<\/p>\n<\/td>\n<td>\n<p align=\"left\">25.6 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"312\" width=\"312\">\n<p align=\"left\">perfscale (warm vu + prepared)<\/p>\n<\/td>\n<td>\n<p align=\"left\">26 694<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.64<\/p>\n<\/td>\n<td>\n<p align=\"left\">29.3 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"312\" width=\"312\">\n<p align=\"left\">k6 (xk6-sql, warm)<\/p>\n<\/td>\n<td>\n<p align=\"left\">16 950<\/p>\n<\/td>\n<td>\n<p align=\"left\">1.00<\/p>\n<\/td>\n<td>\n<p align=\"left\">56.9 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"312\" width=\"312\">\n<p align=\"left\">jmeter (JDBC, warm pool)<\/p>\n<\/td>\n<td>\n<p align=\"left\">16 619<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u2014<\/p>\n<\/td>\n<td>\n<p align=\"left\">371.5 MiB<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"312\" width=\"312\">\n<p align=\"left\">locust (psycopg2, warm)<\/p>\n<\/td>\n<td>\n<p align=\"left\">4 963<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u2014<\/p>\n<\/td>\n<td>\n<p align=\"left\">56.8 MiB<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0411\u0435\u0437 prepared statements perfscale \u043f\u043e\u043a\u0430 \u043e\u0442\u0441\u0442\u0430\u0451\u0442 \u043e\u0442 k6. \u0421 \u043d\u0438\u043c\u0438 \u043e\u043d \u0432\u043f\u0435\u0440\u0435\u0434\u0438 \u0432\u0441\u0435\u0445, \u0430 p95 \u043f\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0432\u0434\u0432\u043e\u0435. \u043d\u043e \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043d\u0430\u0434 \u044d\u0442\u0438\u043c!<\/p>\n<h2>Perfscale platform<\/h2>\n<h4>Pro-\u043c\u043e\u0434\u0443\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0430\u0433\u0435\u043d\u0442\u0435<\/h4>\n<p>\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u044f \u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 pro-\u043c\u043e\u0434\u0443\u043b\u0435\u0439 (SOAP, FIX, LLM, PubSub, WebRTC, shared-redis) \u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u044e\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0430\u0433\u0435\u043d\u0442\u0430, \u0432\u0435\u0434\u044c \u043d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0443 \u043d\u0430\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0432\u0438\u0434\u044b \u0442\u0435\u0441\u0442\u043e\u0432. \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0430\u0433\u0435\u043d\u0442\u0430, \u0438 \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b \u0432 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0435 <code>variants.json<\/code>. \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b pro-\u043c\u043e\u0434\u0443\u043b\u0435\u0439. \u041d\u0443\u0436\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 self-update \u0430\u0433\u0435\u043d\u0442\u0430, \u0440\u0443\u043a\u0430\u043c\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e.<\/p>\n<h2>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435<\/h2>\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430 \u043d\u0430 github actions. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0443 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0443\u0434\u0430\u0440\u0438\u043b\u043e \u043f\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c. \u0414\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 github actions \u0432\u0441\u0435 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435. \u041a\u0441\u0442\u0430\u0442\u0438 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u044f \u0437\u0430\u043c\u0435\u0442\u0438\u043b, \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0445 \u0443 \u043d\u0430\u0441 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0431\u0435\u0440\u0435\u0442 perfscale oss. \u041e\u0442\u0440\u044b\u0432 \u0443 \u043d\u0435\u0433\u043e \u0432 4 \u0440\u0430\u0437\u0430 \u043e\u0442 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u041a\u0441\u0442\u0430\u0442\u0438, \u043b\u0438\u043c\u0438\u0442\u044b \u043c\u044b \u0443\u0436\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u0442\u044c \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b \u0440\u0435\u043b\u0438\u0437\u0430\u043c\u0438.<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/48\/66\/91\/486691f7859ba7fd0e0d6b4a147c5a7b.png\" width=\"921\" height=\"321\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/48\/66\/91\/486691f7859ba7fd0e0d6b4a147c5a7b.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/48\/66\/91\/486691f7859ba7fd0e0d6b4a147c5a7b.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<h2>\u0410 \u043d\u0430 \u044d\u0442\u043e\u043c \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432\u0441\u0435!<\/h2>\n<p>\u041d\u0435 \u0432\u044b\u0436\u0438\u0440\u0430\u0439\u0442\u0435 \u043b\u0438\u043c\u0438\u0442\u044b \u043f\u043e \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0443 \u0438 \u043f\u0443\u0441\u0442\u044c \u0432\u0430\u0448\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0430 5 \u0434\u0435\u0432\u044f\u0442\u043e\u043a!<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<ul>\n<li>\n<p>GitHub: <a href=\"https:\/\/github.com\/Perfscale\/perfscale\" rel=\"noopener nofollow\">Perfscale\/perfscale<\/a><\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f: \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 Docs \u0432 <code>perfscale serve --ui<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430: <a href=\"http:\/\/perfscale.ru\" rel=\"noopener nofollow\">perfscale.ru<\/a> \/ <a href=\"http:\/\/perfscale.su\" rel=\"noopener nofollow\">perfscale.su<\/a><\/p>\n<\/li>\n<li>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430: <a href=\"https:\/\/github.com\/Perfscale\/perfscale\/releases\" rel=\"noopener nofollow\">GitHub Releases<\/a> \u0438\u043b\u0438 <code>npm i -g @perfscale\/exe<\/code><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u0430: <a href=\"https:\/\/github.com\/Perfscale\/allure2-reporter\" rel=\"noopener nofollow\">https:\/\/github.com\/Perfscale\/allure2-reporter<\/a><\/p>\n<\/li>\n<li>\n<p>github actions \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043e\u0431\u044b\u0447\u043d\u044b\u043c <a href=\"https:\/\/github.com\/Perfscale\/github-action\" rel=\"noopener nofollow\">https:\/\/github.com\/Perfscale\/github-action<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1098742\/\">https:\/\/habr.com\/ru\/articles\/1098742\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438! \u0421\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043f\u0440\u043e\u0448\u043b\u044b\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u043c \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443:\u041f\u0440\u043e\u0448\u043b\u044b\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0438\u041d\u043e\u0432\u043e\u0441\u0442\u0438 Perfscale \u2116\u00a01Perfscale news #2: Fix Protocol, Magic metrics \u0438\u00a0MCPperfscale news #3\u00a0Websocket, Inference, NPMPerfscale news #4. GRPC, Fixed Triggers, Child ProcessPerfscale news #5. SQL, Thresholds, \u043d\u0435\u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0435 Linked AccountsPerfscale news #6. GraphQL, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Import, \u0438\u00a0\u043c\u0435\u0442\u0440\u0438\u043a\u0438Perfscale news #7. Fix Import, SOAP, and more HTTP metricsPerfscale news #8. WS\u00a0Benchmark, Jmeter open sourced &amp; fixed linked accountsPerfscale news #9. GPU, LLM, Docker imagesPerfscale news #10. Shared variables, Pub\/Sub load testing &amp; live metricsPerscale news #11. Fine\u2011grained token, SQID, stdout log streamingPerfscale news #12. WASM\u2011\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, SDK \u0434\u043b\u044f\u00a0\u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0438 \u00ab\u0436\u0438\u0432\u044b\u0435\u00bb \u043b\u043e\u0433\u0438Perfscale news #13. \u0412\u044b\u0436\u0438\u0433\u0430\u043d\u0438\u0435 WASM \u043c\u043e\u0434\u0443\u043b\u0435\u0439, http3\u00a0\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 postmortemPerfscale news #14. \u0424\u0438\u043a\u0441 fix, api reference \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 webrtcPerfscale news #15. \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 bench, \u0438 \u043c\u0435\u0442\u0440\u0438\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u043b, \u0447\u0442\u043e \u043c\u0438\u043d\u0443\u0442\u044b GitHub Actions \u043f\u043e\u0447\u0442\u0438 \u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043d\u0438 \u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c \u0441\u043e\u0432\u0441\u0435\u043c(\u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043c\u0435\u0441\u044f\u0446\u0430), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u043b\u0438\u0437 \u0430\u0433\u0435\u043d\u0442\u0430 0.6.0 \u0441\u043e\u0431\u0440\u0430\u043d, \u043d\u043e \u0435\u0449\u0451 \u043d\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d. \u041e\u0431\u043e \u0432\u0441\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 perfscale oss. \u0428\u0443\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u0442\u044c \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u043a\u0438\u043d\u0443\u0442\u044c &#171;\u043f\u0430\u0440\u0443 \u0431\u0430\u043a\u0441\u043e\u0432&#187; \u0441\u0432\u0435\u0440\u0445\u0443. \u0410 \u0442\u043e \u0431\u0435\u0437 actions \u043d\u0438\u043a\u0430\u043a. \u0412 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u043d\u0435\u0440 \u0438\u0437 \u0434\u043e\u043c\u0430. \u041f\u043e\u043a\u0430 \u0434\u0443\u043c\u0430\u044e \u043d\u0430\u0434 \u044d\u0442\u0438\u043c.Perfscale OSSReport SDK API\u0420\u0430\u043d\u044c\u0448\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0433\u043e\u043d\u0430 \u0436\u0438\u043b \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445: \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0438 \u0432 perfscale serve\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f  \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u044d\u0441\u0442\u0435\u0442\u0438\u043a\u0438. \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c JUnit \u0434\u043b\u044f CI \u0438\u043b\u0438 HTML \u0434\u043b\u044f \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 JSON, \u0447\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043f\u043e\u0432\u0435\u0440\u0445 JSON. \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0435\u0441\u0442\u044c \u0441\u0435\u043a\u0446\u0438\u044f reporters:# file: config.yamlreport:  reporters:    &#8212; use: std\/report\/json@v1      with: { path: report.json }    &#8212; use: std\/report\/junit@v1      with: { path: junit.xml }    &#8212; use: std\/report\/html@v1      # \u043e\u0434\u0438\u043d HTML-\u0444\u0430\u0439\u043b, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430      with: { path: report.html }    &#8212; use: wasm:.\/reporters\/summary.wasm\u0412\u0441\u0435 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u044b \u0447\u0438\u0442\u0430\u044e\u0442 \u043e\u0434\u043d\u0443 \u043c\u043e\u0434\u0435\u043b\u044c report@v1: \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0433\u043e\u043d\u0430, \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u044b \u043f\u043e \u0448\u0430\u0433\u0430\u043c, \u0432\u0441\u0435 thresholds \u0438 \u0441\u044b\u0440\u044b\u0435 \u0441\u044d\u043c\u043f\u043b\u044b, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043d\u0443\u0436\u043d\u044b. \u0412 JUnit \u043a\u0430\u0436\u0434\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438\u0437 thresholds \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c test case. CI \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a\u043e\u0439 \u043f\u043e\u0440\u043e\u0433 \u0443\u043f\u0430\u043b, \u0430 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u00abexit 1\u00bb.std\/report\/html@v1 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0442\u0447\u0451\u0442 \u0432 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0432 \u0442\u0451\u043c\u043d\u043e\u0439 \u0442\u0435\u043c\u0435, \u0431\u0435\u0437 CDN \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0448\u0440\u0438\u0444\u0442\u043e\u0432. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u0442\u044c \u043a \u0437\u0430\u0434\u0430\u0447\u0435 \u0432 \u0442\u0440\u0435\u043a\u0435\u0440\u0435 \u0438\u043b\u0438 \u043a \u043f\u0438\u0441\u044c\u043c\u0443, \u0447\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043eJSON-\u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0442\u0447\u0451\u0442 \u043f\u043e HTTP. \u0412 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 ${VAR}. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u0445\u043e\u0441\u0442\u0435 \u0438 \u043d\u0435 \u043f\u0438\u0448\u0443\u0442\u0441\u044f \u0432 \u043b\u043e\u0433\u0438:# file: config.yamlreport:  reporters:    &#8212; use: std\/report\/json@v1      with:        url: https:\/\/collector.example.com\/reports        headers: { Authorization: &#171;Bearer ${REPORT_TOKEN}&#187; }\u0421\u0432\u043e\u0438 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u044b \u043d\u0430 WASM! \u0415\u0441\u043b\u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043c\u0430\u043b\u043e, \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 \u043f\u0438\u0448\u0435\u0442\u0441\u044f \u043a\u0430\u043a WASM-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 perfscale:reporter@0.1.0. \u0412 TypeScript SDK (@perfscale\/library-sdk) \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c defineReporter \u0438 \u0441\u0431\u043e\u0440\u043a\u0430 &#8212;kind reporter(\u043b\u0443\u0447\u0448\u0435\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b. \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e SDK \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0441\u0442\u043e perfscale\/sdk, \u043d\u043e \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043b\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u043c\u0435\u043d\u044f). \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u0430 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c: perfscale\/allure2-reporter \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 report@v1 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b Allure. \u041f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 + \u0442\u0430\u043c\u0436\u0435 \u0435\u0441\u0442\u044c github actions \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0435\u0433\u043e \u0437\u0430\u0446\u0435\u043d\u0438\u0442\u044c: perfscale\/github-action.\u0427\u0442\u043e\u0431\u044b WASM \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u043b \u043a\u043e\u043d\u0435\u0446 \u043f\u0440\u043e\u0433\u043e\u043d\u0430, \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u044d\u0448\u0438\u0440\u0443\u0435\u0442\u0441\u044f: \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 perfscale install &lt;your reporter | path&gt; \u043f\u0440\u043e\u0433\u0440\u0435\u0432\u0430\u0435\u0442 \u043a\u044d\u0448 \u0437\u0430\u0440\u0430\u043d\u0435\u0435.\u0423\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 Pub\/Sub\u0420\u0430\u043d\u044c\u0448\u0435 std\/pubsub@v1 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0431\u0440\u043e\u043a\u0435\u0440\u043e\u043c \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u00ab\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0432\u044b\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u00bb \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u2014 \u043d\u0435\u0442. \u041f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430:scope: vu \u2014 \u043e\u0434\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 VU \u043d\u0430 \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0433\u043e\u043d (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e scope: exchange, \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e. \u0422\u0430\u043a \u0431\u044b\u043b\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e);flush: none \u2014 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0431\u0435\u0437 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u0430 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e flush: message, \u0436\u0434\u0451\u043c ack \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u0430).\u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043c\u0435\u0442\u0440\u0438\u043a\u0438 pubsub_publish_ms, pubsub_errors \u0438 pubsub_connect_ms: \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u043e\u0438\u0442 \u0441\u0430\u043c\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435. \u0412 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0439 bench \u0432\u043e\u0448\u0451\u043b \u043d\u0430\u0431\u043e\u0440 pubsub \u043f\u0440\u043e\u0442\u0438\u0432 NATS. \u0414\u043b\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0432\u0437\u044f\u0442 k6 \u0441\u043e \u0441\u0431\u043e\u0440\u043a\u043e\u0439 xk6 + xk6-nats: \u0432 \u0441\u0442\u043e\u043a\u043e\u0432\u043e\u043c k6 \u043c\u043e\u0434\u0443\u043b\u044f NATS \u043d\u0435\u0442. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u0432 CI (10 VU, 10 \u0441, payload ~256 \u0431\u0430\u0439\u0442):\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439Msg\/sCPU \u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435Peak RSSperfscale (publish, cold)3 846221.5 \u00b5s22.3 MiBk6 xk6-nats (publish, cold)3 107418.0 \u00b5s53.7 MiBperfscale (publish, warm, \u0436\u0434\u0451\u043c ack)89 92323.8 \u00b5s23.6 MiBperfscale (publish, warm, flush: none)348 4359.6 \u00b5s25.7 MiBk6 xk6-nats (publish, warm)141 46924.1 \u00b5s173.9 MiB\u041a\u0430\u043a \u044d\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u044c:cold \u2014 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438. perfscale \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u0442\u0440\u0430\u0442\u0438\u0442 \u0432\u0434\u0432\u043e\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 CPU \u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435.warm \u0441 ack \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 k6, \u0438 \u044d\u0442\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e: xk6-nats \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0436\u0434\u0451\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0442 \u0431\u0440\u043e\u043a\u0435\u0440\u0430. \u0411\u043e\u043b\u0435\u0435 \u0447\u0435\u0441\u0442\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 k6 \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 \u0441 flush: none: 348K \u043f\u0440\u043e\u0442\u0438\u0432 141K msg\/s \u043f\u0440\u0438 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 7 \u0440\u0430\u0437 \u043c\u0435\u043d\u044c\u0448\u0435!\u0421\u0442\u0440\u043e\u043a\u0438, \u0433\u0434\u0435 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0432 \u0442\u043e\u043c \u0436\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u0447\u0442\u043e \u0438 \u0441\u0435\u0440\u0432\u0438\u0441, \u044f \u0438\u0437 bench \u0443\u0431\u0440\u0430\u043b, \u0430 \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u0447\u0435\u0441\u0442\u043d\u043e \u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 RPS \u0432\u044b\u0434\u0430\u0432\u0430\u043b!\u0423\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 SQL\u0414\u043b\u044f std\/db-* \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u044f: scope: vu \u0434\u043b\u044f db-connect \u043e\u043f\u0446\u0438\u0438 \u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f\u043c\u0438. \u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438\u0441\u044c prepared: true \u0434\u043b\u044f prepared statements \u0438 store_rows: false, \u0447\u0442\u043e\u0431\u044b \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438, \u043d\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u044f \u0438\u0445. \u041d\u0443 \u0438 \u0432\u044b\u0434\u0435\u0440\u0436\u043a\u0430 \u0438\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043c\u0435\u0442\u0440\u0438\u043a:\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439QPSp95 msPeak RSSperfscale (warm vu)12 7391.1825.6 MiBperfscale (warm vu + prepared)26 6940.6429.3 MiBk6 (xk6-sql, warm)16 9501.0056.9 MiBjmeter (JDBC, warm pool)16 619\u2014371.5 MiBlocust (psycopg2, warm)4 963\u201456.8 MiB\u0411\u0435\u0437 prepared statements perfscale \u043f\u043e\u043a\u0430 \u043e\u0442\u0441\u0442\u0430\u0451\u0442 \u043e\u0442 k6. \u0421 \u043d\u0438\u043c\u0438 \u043e\u043d \u0432\u043f\u0435\u0440\u0435\u0434\u0438 \u0432\u0441\u0435\u0445, \u0430 p95 \u043f\u0430\u0434\u0430\u0435\u0442 \u043f\u043e\u0447\u0442\u0438 \u0432\u0434\u0432\u043e\u0435. \u043d\u043e \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043d\u0430\u0434 \u044d\u0442\u0438\u043c!Perfscale platformPro-\u043c\u043e\u0434\u0443\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0430\u0433\u0435\u043d\u0442\u0435\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u044f \u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 pro-\u043c\u043e\u0434\u0443\u043b\u0435\u0439 (SOAP, FIX, LLM, PubSub, WebRTC, shared-redis) \u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d\u0438 \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u044e\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0430\u0433\u0435\u043d\u0442\u0430, \u0432\u0435\u0434\u044c \u043d\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0443 \u043d\u0430\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0432\u0438\u0434\u044b \u0442\u0435\u0441\u0442\u043e\u0432. \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0430\u0433\u0435\u043d\u0442\u0430, \u0438 \u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b \u0432 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u0435 variants.json. \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435 \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b pro-\u043c\u043e\u0434\u0443\u043b\u0435\u0439. \u041d\u0443\u0436\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 self-update \u0430\u0433\u0435\u043d\u0442\u0430, \u0440\u0443\u043a\u0430\u043c\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e.\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435\u041f\u043e\u0437\u0432\u043e\u043b\u044e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430 \u043d\u0430 github actions. \u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0443 \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0443\u0434\u0430\u0440\u0438\u043b\u043e \u043f\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c. \u0414\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 github actions \u0432\u0441\u0435 \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435. \u041a\u0441\u0442\u0430\u0442\u0438 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u044f \u0437\u0430\u043c\u0435\u0442\u0438\u043b, \u0447\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0445 \u0443 \u043d\u0430\u0441 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0431\u0435\u0440\u0435\u0442 perfscale oss. \u041e\u0442\u0440\u044b\u0432 \u0443 \u043d\u0435\u0433\u043e \u0432 4 \u0440\u0430\u0437\u0430 \u043e\u0442 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u041a\u0441\u0442\u0430\u0442\u0438, \u043b\u0438\u043c\u0438\u0442\u044b \u043c\u044b \u0443\u0436\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u0442\u044c \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b \u0440\u0435\u043b\u0438\u0437\u0430\u043c\u0438.\u0410 \u043d\u0430 \u044d\u0442\u043e\u043c \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432\u0441\u0435!\u041d\u0435 \u0432\u044b\u0436\u0438\u0440\u0430\u0439\u0442\u0435 \u043b\u0438\u043c\u0438\u0442\u044b \u043f\u043e \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0443 \u0438 \u043f\u0443\u0441\u0442\u044c \u0432\u0430\u0448\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0430 5 \u0434\u0435\u0432\u044f\u0442\u043e\u043a!\u0421\u0441\u044b\u043b\u043a\u0438GitHub: Perfscale\/perfscale\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f: \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 Docs \u0432 perfscale serve &#8212;ui\u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430: perfscale.ru \/ perfscale.su\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430: GitHub Releases \u0438\u043b\u0438 npm i -g @perfscale\/exe\u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440\u0430: https:\/\/github.com\/Perfscale\/allure2-reportergithub actions \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043e\u0431\u044b\u0447\u043d\u044b\u043c https:\/\/github.com\/Perfscale\/github-action\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1098742\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-500070","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/500070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=500070"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/500070\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=500070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=500070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=500070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}