{"id":498979,"date":"2026-10-16T16:37:27","date_gmt":"2026-10-16T13:37:27","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=498979"},"modified":"2026-10-16T16:37:27","modified_gmt":"2026-10-16T13:37:27","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=498979","title":{"rendered":"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"},"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 \u0434\u0435\u043b\u0443 &#8212; \u043f\u0440\u043e\u0448\u043b\u044b\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u043c:<\/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<\/ul>\n<\/div>\n<\/details>\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0443 \u043d\u0430\u0441 \u0432 \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f OSS, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c Github actions \u043f\u043e \u043c\u0438\u043d\u0443\u0442\u0430\u043c (\u0441\u0435\u0439\u0447\u0430\u0441 \u0442\u0430\u043c ~90% \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f). \u042d\u0442\u043e\u0442 \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u0435\u043d \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c.<\/p>\n<h2>Perfscale OSS<\/h2>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0438\u0444\u0440\u0430 \u0440\u0435\u043b\u0438\u0437\u0430 \u2014 \u0437\u0430\u043f\u0438\u0441\u044c \u043c\u0435\u0442\u0440\u0438\u043a. \u041c\u0435\u0442\u0440\u0438\u043a\u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u043d\u0430 \u0448\u0430\u0440\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 ShardedMetrics (\u0440\u0430\u043d\u0435\u0435 \u0431\u044b\u043b <code>Arc&lt;Mutex&lt;Metrics&gt;&gt;<\/code> \u0430 \u0441\u0442\u0430\u043b\u043e <code>Vec&lt;Mutex&lt;Metrics&gt;&gt;<\/code>), \u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0430\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0441 14.7M \u0434\u043e 118.6M ops\/s \u043d\u0430 16 \u043f\u043e\u0442\u043e\u043a\u0430\u0445. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u0441\u0435 \u043f\u043e\u0442\u043e\u043a\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u044d\u0442\u043e \u0438 \u0434\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u043f\u0435\u0440\u0435\u0442\u0441\u044f \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e ulimit \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0441\u043e\u043a\u0435\u0442\u0430\u043c \u0432 \u0432\u0430\u0448\u0435\u0439 \u041e\u0421. \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435.<\/p>\n<p><strong>perfscale serve<\/strong><\/p>\n<p>\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u043d\u0435\u043c\u043d\u043e\u0433\u0443 serve \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u0441\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 serve \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 <\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/ec\/17\/bf\/ec17bffbafad8509627f6f9d85f3b75b.png\" width=\"1154\" height=\"606\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/ec\/17\/bf\/ec17bffbafad8509627f6f9d85f3b75b.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/ec\/17\/bf\/ec17bffbafad8509627f6f9d85f3b75b.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412\u0441\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u0430 \u043d\u0430 2 \u044f\u0437\u044b\u043a\u0430, \u043a\u0430\u043a \u0438 \u0432 perfscale.[su\/ru]\/docs\/oss.<\/p>\n<p><strong>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 bench \u043f\u0440\u043e\u0444\u0438\u043b\u044c<\/strong><\/p>\n<p>1 \u0440\u0430\u0437 \u0432 \u0434\u0435\u043d\u044c \u0443 \u043d\u0430\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f bench \u043f\u0440\u043e\u0444\u0438\u043b\u044c, \u0433\u0434\u0435 \u043c\u044b \u0433\u043e\u043d\u044f\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 perfscale \u0441 locust, k6 \u0438 jmeter \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0442\u0435\u0447\u0435\u043a \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 SQL (\u043e\u0431 \u044d\u0442\u043e\u043c \u0431\u044b\u043b\u0430 <a href=\"https:\/\/habr.com\/ru\/news\/1067192\/\" rel=\"noopener nofollow\">\u043d\u043e\u0432\u043e\u0441\u0442\u044c #5<\/a> ) \u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0447\u0442\u043e \u0432 bench \u043f\u0440\u043e\u0444\u0438\u043b\u0435 \u043d\u0435\u0442 \u0437\u0430\u043c\u0435\u0440\u043e\u0432 \u0441 K6. \u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u0437\u0430\u043c\u0435\u0440\u044f\u0435\u043c \u043d\u0435 \u0441 \u0433\u043e\u043b\u044b\u043c k6, \u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u043c xk6 + sql. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435. <\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/ae\/58\/43\/ae5843deb1f2ef06c974400c902afa57.png\" width=\"875\" height=\"968\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/ae\/58\/43\/ae5843deb1f2ef06c974400c902afa57.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/ae\/58\/43\/ae5843deb1f2ef06c974400c902afa57.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434:<\/p>\n<blockquote>\n<p>\u0426\u0435\u043b\u0438: PostgreSQL \u043f\u043e <code>BENCH_PG_DSN<\/code> (\u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 CI) \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 SQLite (<em>sqlite::memory:, pool_size 1<\/em> \u2014 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e; \u0432\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u0443\u043b\u0430 \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445). \u0421\u0442\u0440\u043e\u043a\u0438 perfscale (&#8230;) \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 <code>std\/db-*@v1<\/code>: cold = \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 + SELECT 1 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e (\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u2014 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f\/\u043a\u0440\u0430\u0442\u043a\u043e\u0436\u0438\u0432\u0443\u0449\u0430\u044f \u0444\u043e\u0440\u043c\u0430); cold, params = \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 <code>${rand(1,1000)};<\/code> warm pool = \u043e\u0434\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e, \u0437\u0430\u0442\u0435\u043c 10 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \u043f\u0440\u0438\u043f\u0430\u0440\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0443\u043b\u0443, \u0437\u0430\u0442\u0435\u043c db-close (Queries\/QPS \u0441\u0447\u0438\u0442\u0430\u044e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0430 \u043d\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438); <em>warm tx = 5 \u00d7 tx-begin + SELECT 1 + commit<\/em> \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e (\u0435\u0433\u043e p95 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0437\u0446\u044b begin\/query\/commit). \u0421\u0442\u0440\u043e\u043a\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043e\u0432 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0442 \u0444\u043e\u0440\u043c\u0443 warm: locust \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 psycopg2 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 <code>SELECT 1<\/code> \u0432 \u0446\u0438\u043a\u043b\u0435 (\u043d\u0443\u0436\u0435\u043d pipx inject locust psycopg2-binary); JMeter \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0443\u043b JDBC-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 + \u0441\u044d\u043c\u043f\u043b\u0435\u0440 <code>SELECT 1<\/code> (\u043d\u0443\u0436\u0435\u043d PostgreSQL JDBC jar \u0432 lib\/ JMeter; \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0432\u043e\u0434\u043a\u0435 \u043d\u0435\u0442 \u043f\u0435\u0440\u0446\u0435\u043d\u0442\u0438\u043b\u0435\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f\u0447\u0435\u0439\u043a\u0430 p95 \u043f\u0443\u0441\u0442\u0430, \u0430 <code>avg\/min\/max<\/code> \u2014 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0435 \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u044b); k6 (xk6-sql) \u2014 \u044d\u0442\u043e \u041d\u0415 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 k6 \u2014 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c xk6-sql + \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u043c postgres (\u043e\u0434\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 VU, \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0435 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 init, SELECT 1 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e; \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0445 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0434\u0432\u0438\u0436\u043a\u0430 <code>db_query_duration<\/code>\/<code>db_errors<\/code>). \u0415\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f k6 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e k6 \u2014 \u0441\u043c. \u0441\u0432\u043e\u0434\u043a\u0443 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f CI.<\/p>\n<\/blockquote>\n<p><strong>\u041f\u043e \u043c\u0435\u043b\u043e\u0447\u0438<\/strong><\/p>\n<ul>\n<li>\n<p>\u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <code>perfscale cache clean<\/code> \u2014 \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u043a\u044d\u0448\u0430 \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439; <\/p>\n<\/li>\n<li>\n<p><strong><em>self-update<\/em><\/strong> \u0441\u0442\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438 \u043d\u0430\u0443\u0447\u0438\u043b\u0441\u044f \u0440\u0435\u0442\u0440\u0430\u044f\u043c \u043d\u0430 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445 (\u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e, \u0435\u0441\u0442\u044c \u0444\u043b\u0430\u0433 &#8212;non-interactive)<\/p>\n<\/li>\n<li>\n<p>dev-\u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u0430\u0440\u043a\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432\u0435\u0440\u0441\u0438\u0435\u0439 0.25.0-next.N+g \u2014 \u043f\u043e \u0432\u044b\u0432\u043e\u0434\u0443 &#8212;version \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0432\u0430\u043c\u0438 \u043d\u0435 \u0440\u0435\u043b\u0438\u0437; \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0435\u0436\u0434\u0443 \u0440\u0435\u043b\u0438\u0437\u0430\u043c\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0434\u043b\u044f CI: \u0441\u0442\u0440\u043e\u0433\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 checksums, SHA-\u043f\u0438\u043d\u044b \u0432 github-action, gitlab-ci \u0438 Helm-\u0447\u0430\u0440\u0442\u0430\u0445; \u0420\u0430\u043d\u0435\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0430\u0432\u0430\u043b\u0430 warning, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0435\u0442 \u043f\u0430\u0434\u0430\u0442\u044c<\/p>\n<\/li>\n<li>\n<p>sdk-js \u043f\u0440\u043e\u0435\u043a\u0442 \u0437\u0430\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u0432 sdk-libraries \u0438 WASM \u043c\u043e\u0434\u0443\u043b\u0438.<\/p>\n<\/li>\n<\/ul>\n<h2>Perfscale platform<\/h2>\n<p><strong>\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f pro \u043c\u043e\u0434\u0443\u043b\u0435\u0439<\/strong><\/p>\n<p>\u0418\u0442\u0430\u043a, \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0441\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e pro \u043c\u043e\u0434\u0443\u043b\u0435\u0439(SOAP, FIX, LLM, PubSub, SQL), \u0438 \u044d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043b\u044e\u0434\u0438 \u043c\u043e\u0433\u0443\u0442 \u0438 \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043e\u0439 \u043e\u0442 \u0442\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0437\u0430\u043f\u0435\u043a\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 (\u044d\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0432 <a href=\"https:\/\/habr.com\/ru\/news\/1089710\/\" rel=\"noopener nofollow\">\u043d\u043e\u0432\u043e\u0441\u0442\u044f\u0445 #13<\/a> ) \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0437\u0430\u043f\u0435\u043a\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0442\u043e\u0447\u0435\u0447\u043d\u043e, \u0442.\u0435. \u0442\u043e, \u0447\u0442\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e pro\/sql \u043c\u043e\u0434\u0443\u043b\u044c, \u0442\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a SOAP, FIX \u0438 \u0434\u0440\u0443\u0433\u0438\u0445. \u042d\u0442\u043e \u043d\u0435 \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0435\u043a\u0430\u043d\u0438\u0435 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0435\u0440\u0435\u0434 \u0441\u0430\u043c\u0438\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f. \u0410 \u0445\u043e\u0440\u043e\u0448\u043e \u044d\u0442\u043e \u0438\u043b\u0438 \u043f\u043b\u043e\u0445\u043e &#8212; \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u041d\u0443 \u0430 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432\u0441\u0435. \u0416\u0435\u043b\u0430\u044e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0440\u0442\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0438\u0437 <code>TIME_WAIT<\/code> \u0432\u043e\u0432\u0440\u0435\u043c\u044f, \u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0434\u0435\u0440\u0436\u0430\u0442 \u0441\u0432\u043e\u0438 \u043f\u044f\u0442\u044c \u0434\u0435\u0432\u044f\u0442\u043e\u043a. \u0414\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u044b\u043f\u0443\u0441\u043a\u0430!<\/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\">https:\/\/github.com\/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 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u0430 <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> \u0438 <a href=\"http:\/\/perfscale.su\" rel=\"noopener nofollow\">perfscale.su<\/a> <\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u043b\u0438\u0437\u044b \u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438: <a href=\"https:\/\/github.com\/Perfscale\/perfscale\/releases\" rel=\"noopener nofollow\">GitHub Releases<\/a>, npm <code>@perfscale\/exe<\/code><\/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\/1095374\/\">https:\/\/habr.com\/ru\/articles\/1095374\/<\/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 \u0434\u0435\u043b\u0443 &#8212; \u043f\u0440\u043e\u0448\u043b\u044b\u043c \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u043c:\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 webrtc\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0443 \u043d\u0430\u0441 \u0432 \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f OSS, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438\u0441\u044c Github actions \u043f\u043e \u043c\u0438\u043d\u0443\u0442\u0430\u043c (\u0441\u0435\u0439\u0447\u0430\u0441 \u0442\u0430\u043c ~90% \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f). \u042d\u0442\u043e\u0442 \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u0435\u043d \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c.Perfscale OSS\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0438\u0444\u0440\u0430 \u0440\u0435\u043b\u0438\u0437\u0430 \u2014 \u0437\u0430\u043f\u0438\u0441\u044c \u043c\u0435\u0442\u0440\u0438\u043a. \u041c\u0435\u0442\u0440\u0438\u043a\u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u043d\u0430 \u0448\u0430\u0440\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 ShardedMetrics (\u0440\u0430\u043d\u0435\u0435 \u0431\u044b\u043b Arc&lt;Mutex&lt;Metrics&gt;&gt; \u0430 \u0441\u0442\u0430\u043b\u043e Vec&lt;Mutex&lt;Metrics&gt;&gt;), \u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0430\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0441 14.7M \u0434\u043e 118.6M ops\/s \u043d\u0430 16 \u043f\u043e\u0442\u043e\u043a\u0430\u0445. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u0441\u0435 \u043f\u043e\u0442\u043e\u043a\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u044d\u0442\u043e \u0438 \u0434\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u043f\u0435\u0440\u0435\u0442\u0441\u044f \u0432 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e ulimit \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0441\u043e\u043a\u0435\u0442\u0430\u043c \u0432 \u0432\u0430\u0448\u0435\u0439 \u041e\u0421. \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u0439\u0442\u0435.perfscale serve\u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u043d\u0435\u043c\u043d\u043e\u0433\u0443 serve \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0438 \u0441\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 serve \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0412\u0441\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u0430 \u043d\u0430 2 \u044f\u0437\u044b\u043a\u0430, \u043a\u0430\u043a \u0438 \u0432 perfscale.[su\/ru]\/docs\/oss.\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 bench \u043f\u0440\u043e\u0444\u0438\u043b\u044c1 \u0440\u0430\u0437 \u0432 \u0434\u0435\u043d\u044c \u0443 \u043d\u0430\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f bench \u043f\u0440\u043e\u0444\u0438\u043b\u044c, \u0433\u0434\u0435 \u043c\u044b \u0433\u043e\u043d\u044f\u043b\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 perfscale \u0441 locust, k6 \u0438 jmeter \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0442\u0435\u0447\u0435\u043a \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 SQL (\u043e\u0431 \u044d\u0442\u043e\u043c \u0431\u044b\u043b\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u044c #5 ) \u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0447\u0442\u043e \u0432 bench \u043f\u0440\u043e\u0444\u0438\u043b\u0435 \u043d\u0435\u0442 \u0437\u0430\u043c\u0435\u0440\u043e\u0432 \u0441 K6. \u0422\u0430\u043a\u0436\u0435 \u043c\u044b \u0437\u0430\u043c\u0435\u0440\u044f\u0435\u043c \u043d\u0435 \u0441 \u0433\u043e\u043b\u044b\u043c k6, \u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u043c xk6 + sql. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435. \u041f\u0435\u0440\u0435\u0432\u043e\u0434:\u0426\u0435\u043b\u0438: PostgreSQL \u043f\u043e BENCH_PG_DSN (\u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 CI) \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 SQLite (sqlite::memory:, pool_size 1 \u2014 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e; \u0432\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u0443\u043b\u0430 \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u0440\u0443\u0433\u043e\u0439 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445). \u0421\u0442\u0440\u043e\u043a\u0438 perfscale (&#8230;) \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 std\/db-*@v1: cold = \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 + SELECT 1 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e (\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u2014 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f\/\u043a\u0440\u0430\u0442\u043a\u043e\u0436\u0438\u0432\u0443\u0449\u0430\u044f \u0444\u043e\u0440\u043c\u0430); cold, params = \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 ${rand(1,1000)}; warm pool = \u043e\u0434\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e, \u0437\u0430\u0442\u0435\u043c 10 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \u043f\u0440\u0438\u043f\u0430\u0440\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u0443\u043b\u0443, \u0437\u0430\u0442\u0435\u043c db-close (Queries\/QPS \u0441\u0447\u0438\u0442\u0430\u044e\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u0430 \u043d\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438); warm tx = 5 \u00d7 tx-begin + SELECT 1 + commit \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e (\u0435\u0433\u043e p95 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0437\u0446\u044b begin\/query\/commit). \u0421\u0442\u0440\u043e\u043a\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u043e\u0432 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0442 \u0444\u043e\u0440\u043c\u0443 warm: locust \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 psycopg2 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 SELECT 1 \u0432 \u0446\u0438\u043a\u043b\u0435 (\u043d\u0443\u0436\u0435\u043d pipx inject locust psycopg2-binary); JMeter \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0443\u043b JDBC-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 + \u0441\u044d\u043c\u043f\u043b\u0435\u0440 SELECT 1 (\u043d\u0443\u0436\u0435\u043d PostgreSQL JDBC jar \u0432 lib\/ JMeter; \u0432 \u0435\u0433\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0432\u043e\u0434\u043a\u0435 \u043d\u0435\u0442 \u043f\u0435\u0440\u0446\u0435\u043d\u0442\u0438\u043b\u0435\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f\u0447\u0435\u0439\u043a\u0430 p95 \u043f\u0443\u0441\u0442\u0430, \u0430 avg\/min\/max \u2014 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0435 \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u044b); k6 (xk6-sql) \u2014 \u044d\u0442\u043e \u041d\u0415 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 k6 \u2014 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c xk6-sql + \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u043c postgres (\u043e\u0434\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 VU, \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0435 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 init, SELECT 1 \u043d\u0430 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044e; \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0445 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0434\u0432\u0438\u0436\u043a\u0430 db_query_duration\/db_errors). \u0415\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f k6 \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e k6 \u2014 \u0441\u043c. \u0441\u0432\u043e\u0434\u043a\u0443 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f CI.\u041f\u043e \u043c\u0435\u043b\u043e\u0447\u0438\u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 perfscale cache clean \u2014 \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u043a\u044d\u0448\u0430 \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439; self-update \u0441\u0442\u0430\u043b \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438 \u043d\u0430\u0443\u0447\u0438\u043b\u0441\u044f \u0440\u0435\u0442\u0440\u0430\u044f\u043c \u043d\u0430 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445 (\u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e, \u0435\u0441\u0442\u044c \u0444\u043b\u0430\u0433 &#8212;non-interactive)dev-\u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u0430\u0440\u043a\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432\u0435\u0440\u0441\u0438\u0435\u0439 0.25.0-next.N+g \u2014 \u043f\u043e \u0432\u044b\u0432\u043e\u0434\u0443 &#8212;version \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0432\u0430\u043c\u0438 \u043d\u0435 \u0440\u0435\u043b\u0438\u0437; \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0435\u0436\u0434\u0443 \u0440\u0435\u043b\u0438\u0437\u0430\u043c\u0438.\u0434\u043b\u044f CI: \u0441\u0442\u0440\u043e\u0433\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 checksums, SHA-\u043f\u0438\u043d\u044b \u0432 github-action, gitlab-ci \u0438 Helm-\u0447\u0430\u0440\u0442\u0430\u0445; \u0420\u0430\u043d\u0435\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0430\u0432\u0430\u043b\u0430 warning, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0435\u0442 \u043f\u0430\u0434\u0430\u0442\u044csdk-js \u043f\u0440\u043e\u0435\u043a\u0442 \u0437\u0430\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u0432 sdk-libraries \u0438 WASM \u043c\u043e\u0434\u0443\u043b\u0438.Perfscale platform\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f pro \u043c\u043e\u0434\u0443\u043b\u0435\u0439\u0418\u0442\u0430\u043a, \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0441\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u043e\u0433\u043e pro \u043c\u043e\u0434\u0443\u043b\u0435\u0439(SOAP, FIX, LLM, PubSub, SQL), \u0438 \u044d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043b\u044e\u0434\u0438 \u043c\u043e\u0433\u0443\u0442 \u0438 \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043e\u0439 \u043e\u0442 \u0442\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0437\u0430\u043f\u0435\u043a\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 (\u044d\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0432 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u0445 #13 ) \u043c\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u0437\u0430\u043f\u0435\u043a\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0442\u043e\u0447\u0435\u0447\u043d\u043e, \u0442.\u0435. \u0442\u043e, \u0447\u0442\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e pro\/sql \u043c\u043e\u0434\u0443\u043b\u044c, \u0442\u043e \u043d\u0435 \u043d\u0430\u0434\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a SOAP, FIX \u0438 \u0434\u0440\u0443\u0433\u0438\u0445. \u042d\u0442\u043e \u043d\u0435 \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u0435\u0442 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0435\u043a\u0430\u043d\u0438\u0435 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0435\u0440\u0435\u0434 \u0441\u0430\u043c\u0438\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f. \u0410 \u0445\u043e\u0440\u043e\u0448\u043e \u044d\u0442\u043e \u0438\u043b\u0438 \u043f\u043b\u043e\u0445\u043e &#8212; \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0432\u0440\u0435\u043c\u044f.\u041d\u0443 \u0430 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432\u0441\u0435. \u0416\u0435\u043b\u0430\u044e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0440\u0442\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0438\u0437 TIME_WAIT \u0432\u043e\u0432\u0440\u0435\u043c\u044f, \u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0434\u0435\u0440\u0436\u0430\u0442 \u0441\u0432\u043e\u0438 \u043f\u044f\u0442\u044c \u0434\u0435\u0432\u044f\u0442\u043e\u043a. \u0414\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u044b\u043f\u0443\u0441\u043a\u0430!\u0421\u0441\u044b\u043b\u043a\u0438GitHub: https:\/\/github.com\/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 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u0430 perfscale serve &#8212;ui\u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430: perfscale.ru \u0438 perfscale.su \u0420\u0435\u043b\u0438\u0437\u044b \u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438: GitHub Releases, npm @perfscale\/exe\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\/1095374\/<\/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-498979","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/498979","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=498979"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/498979\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=498979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=498979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=498979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}