{"id":15962382,"url":"https://github.com/bloodielie/perf","last_synced_at":"2026-04-18T02:32:06.096Z","repository":{"id":129762734,"uuid":"291467153","full_name":"Bloodielie/perf","owner":"Bloodielie","description":"python/js performance","archived":false,"fork":false,"pushed_at":"2020-09-07T18:33:12.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T12:28:43.455Z","etag":null,"topics":["asyncio","javascript","js","node","nodejs","perf","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bloodielie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-30T12:35:18.000Z","updated_at":"2020-09-07T19:59:00.000Z","dependencies_parsed_at":"2023-04-01T15:50:08.146Z","dependency_job_id":null,"html_url":"https://github.com/Bloodielie/perf","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"6fb4f0055c586faff452173eb13b4e8bd9dab069"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bloodielie/perf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bloodielie%2Fperf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bloodielie%2Fperf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bloodielie%2Fperf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bloodielie%2Fperf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bloodielie","download_url":"https://codeload.github.com/Bloodielie/perf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bloodielie%2Fperf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asyncio","javascript","js","node","nodejs","perf","python"],"created_at":"2024-10-07T16:03:22.495Z","updated_at":"2026-04-18T02:32:06.073Z","avatar_url":"https://github.com/Bloodielie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python/Js web perf\n\n## Preparation postgres\n```bash\nCREATE TABLE _bytes(b bytea); INSERT INTO _bytes(b) (SELECT repeat('a', 1000)::bytea FROM generate_series(1, 100));\nCREATE TABLE _test(a int[]); INSERT INTO _test(a) (SELECT (SELECT array_agg(i) FROM generate_series(1, 100) as s(i)) FROM generate_series(1, 100));\n```\n\n## Apache-benchmark testing\n```bash\nab -n 100000 -c 1000 http://127.0.0.1:8000/{json/fib/fact/db_bytes/db_test}\n```\n\n## Js run\n```bash\npm2-runtime ecosystem.config.js  \n```\n\n## Python run\n```bash\nbash \u003csh file\u003e\n```\n\n\n## Result in my computer\n![perf](https://i.imgur.com/yjQ4amz.png)\n\n\n## Database drivers\n+ python\n  + [asyncpg](https://github.com/MagicStack/asyncpg)\n  + [aiopg](https://github.com/aio-libs/aiopg)\n+ node.js\n  + [node-postgres](https://github.com/brianc/node-postgres)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloodielie%2Fperf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloodielie%2Fperf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloodielie%2Fperf/lists"}