{"id":17478025,"url":"https://github.com/thulio/ex_pool_test","last_synced_at":"2026-04-20T09:33:41.018Z","repository":{"id":142393144,"uuid":"257073705","full_name":"thulio/ex_pool_test","owner":"thulio","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-19T21:54:02.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T12:52:00.777Z","etag":null,"topics":["asyncio","benchmark","elixir","fastapi","httpoison","python3","tesla"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":false,"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/thulio.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-04-19T18:31:52.000Z","updated_at":"2020-04-19T21:54:05.000Z","dependencies_parsed_at":"2024-04-19T06:47:03.554Z","dependency_job_id":null,"html_url":"https://github.com/thulio/ex_pool_test","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"5375b82fb47d2b797d449c25d47c0a01f6a9c334"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thulio/ex_pool_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulio%2Fex_pool_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulio%2Fex_pool_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulio%2Fex_pool_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulio%2Fex_pool_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thulio","download_url":"https://codeload.github.com/thulio/ex_pool_test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulio%2Fex_pool_test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264403794,"owners_count":23602619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","benchmark","elixir","fastapi","httpoison","python3","tesla"],"created_at":"2024-10-18T20:10:35.067Z","updated_at":"2026-04-20T09:33:35.987Z","avatar_url":"https://github.com/thulio.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExPoolTest\n\nRepo com teste de performance ao usar múltiplos pools de conexões na lib `hackney`\n\n\n### Testando\n\n```shell\n# Terminal 1\n\ncd pool-test\n\npoetry install\n\npoetry run uvicorn pool_test.app:app --no-access-log\n```\n\n```shell\n# Terminal 2\n\nmix do deps.get, compile\n\nmix run bench/hackney_pools.exs\n```\n\nExemplo de output:\n\n```shell\nOperating System: macOS\nCPU Information: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz\nNumber of Available Cores: 8\nAvailable memory: 8 GB\nElixir 1.10.2\nErlang 22.2.6\n\nBenchmark suite executing with the following configuration:\nwarmup: 5 s\ntime: 10 s\nmemory time: 0 ns\nparallel: 1\ninputs: concurrency 100, concurrency 125, concurrency 150, concurrency 50, concurrency 75\nEstimated total run time: 6.25 min\n\nBenchmarking default_pool with input concurrency 100...\nBenchmarking default_pool with input concurrency 125...\nBenchmarking default_pool with input concurrency 150...\nBenchmarking default_pool with input concurrency 50...\nBenchmarking default_pool with input concurrency 75...\nBenchmarking httpoison_custom_pool with input concurrency 100...\nBenchmarking httpoison_custom_pool with input concurrency 125...\nBenchmarking httpoison_custom_pool with input concurrency 150...\nBenchmarking httpoison_custom_pool with input concurrency 50...\nBenchmarking httpoison_custom_pool with input concurrency 75...\nBenchmarking httpoison_default_pool with input concurrency 100...\nBenchmarking httpoison_default_pool with input concurrency 125...\nBenchmarking httpoison_default_pool with input concurrency 150...\nBenchmarking httpoison_default_pool with input concurrency 50...\nBenchmarking httpoison_default_pool with input concurrency 75...\nBenchmarking tesla_custom_pool with input concurrency 100...\nBenchmarking tesla_custom_pool with input concurrency 125...\nBenchmarking tesla_custom_pool with input concurrency 150...\nBenchmarking tesla_custom_pool with input concurrency 50...\nBenchmarking tesla_custom_pool with input concurrency 75...\nBenchmarking tesla_default_pool with input concurrency 100...\nBenchmarking tesla_default_pool with input concurrency 125...\nBenchmarking tesla_default_pool with input concurrency 150...\nBenchmarking tesla_default_pool with input concurrency 50...\nBenchmarking tesla_default_pool with input concurrency 75...\n\n##### With input concurrency 100 #####\nName                             ips        average  deviation         median         99th %\ntesla_custom_pool               7.20      138.98 ms     ±0.00%      138.98 ms      138.98 ms\nhttpoison_custom_pool           7.03      142.25 ms     ±0.00%      142.25 ms      142.25 ms\nhttpoison_default_pool          5.54      180.65 ms     ±0.00%      180.65 ms      180.65 ms\ndefault_pool                    5.39      185.65 ms     ±0.00%      185.65 ms      185.65 ms\ntesla_default_pool              4.92      203.21 ms     ±0.00%      203.21 ms      203.21 ms\n\nComparison:\ntesla_custom_pool               7.20\nhttpoison_custom_pool           7.03 - 1.02x slower +3.27 ms\nhttpoison_default_pool          5.54 - 1.30x slower +41.67 ms\ndefault_pool                    5.39 - 1.34x slower +46.66 ms\ntesla_default_pool              4.92 - 1.46x slower +64.23 ms\n\n##### With input concurrency 125 #####\nName                             ips        average  deviation         median         99th %\nhttpoison_custom_pool           6.99      142.98 ms     ±0.00%      142.98 ms      142.98 ms\ntesla_custom_pool               6.42      155.68 ms     ±0.00%      155.68 ms      155.68 ms\nhttpoison_default_pool          5.23      191.12 ms     ±0.00%      191.12 ms      191.12 ms\ndefault_pool                    5.04      198.25 ms     ±0.00%      198.25 ms      198.25 ms\ntesla_default_pool              4.65      215.22 ms     ±0.00%      215.22 ms      215.22 ms\n\nComparison:\nhttpoison_custom_pool           6.99\ntesla_custom_pool               6.42 - 1.09x slower +12.69 ms\nhttpoison_default_pool          5.23 - 1.34x slower +48.14 ms\ndefault_pool                    5.04 - 1.39x slower +55.27 ms\ntesla_default_pool              4.65 - 1.51x slower +72.24 ms\n\n##### With input concurrency 150 #####\nName                             ips        average  deviation         median         99th %\ntesla_custom_pool              11.48       87.11 ms     ±0.00%       87.11 ms       87.11 ms\nhttpoison_custom_pool          11.25       88.87 ms     ±0.00%       88.87 ms       88.87 ms\nhttpoison_default_pool          5.41      184.98 ms     ±0.00%      184.98 ms      184.98 ms\ndefault_pool                    5.30      188.85 ms     ±0.00%      188.85 ms      188.85 ms\ntesla_default_pool              5.10      195.98 ms     ±0.00%      195.98 ms      195.98 ms\n\nComparison:\ntesla_custom_pool              11.48\nhttpoison_custom_pool          11.25 - 1.02x slower +1.76 ms\nhttpoison_default_pool          5.41 - 2.12x slower +97.88 ms\ndefault_pool                    5.30 - 2.17x slower +101.75 ms\ntesla_default_pool              5.10 - 2.25x slower +108.87 ms\n\n##### With input concurrency 50 #####\nName                             ips        average  deviation         median         99th %\ndefault_pool                    5.45      183.58 ms     ±0.00%      183.58 ms      183.58 ms\nhttpoison_default_pool          5.40      185.12 ms     ±0.00%      185.12 ms      185.12 ms\nhttpoison_custom_pool           5.06      197.56 ms     ±0.00%      197.56 ms      197.56 ms\ntesla_default_pool              4.74      210.92 ms     ±0.00%      210.92 ms      210.92 ms\ntesla_custom_pool               4.70      212.96 ms     ±0.00%      212.96 ms      212.96 ms\n\nComparison:\ndefault_pool                    5.45\nhttpoison_default_pool          5.40 - 1.01x slower +1.55 ms\nhttpoison_custom_pool           5.06 - 1.08x slower +13.98 ms\ntesla_default_pool              4.74 - 1.15x slower +27.34 ms\ntesla_custom_pool               4.70 - 1.16x slower +29.39 ms\n\n##### With input concurrency 75 #####\nName                             ips        average  deviation         median         99th %\nhttpoison_custom_pool           6.88      145.33 ms     ±0.00%      145.33 ms      145.33 ms\ntesla_custom_pool               6.83      146.31 ms     ±0.00%      146.31 ms      146.31 ms\ndefault_pool                    5.54      180.44 ms     ±0.00%      180.44 ms      180.44 ms\nhttpoison_default_pool          5.47      182.78 ms     ±0.00%      182.78 ms      182.78 ms\ntesla_default_pool              4.74      210.88 ms     ±0.00%      210.88 ms      210.88 ms\n\nComparison:\nhttpoison_custom_pool           6.88\ntesla_custom_pool               6.83 - 1.01x slower +0.99 ms\ndefault_pool                    5.54 - 1.24x slower +35.12 ms\nhttpoison_default_pool          5.47 - 1.26x slower +37.45 ms\ntesla_default_pool              4.74 - 1.45x slower +65.56 ms\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthulio%2Fex_pool_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthulio%2Fex_pool_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthulio%2Fex_pool_test/lists"}