{"id":20543572,"url":"https://github.com/bavix/laravel-wallet-benchmark","last_synced_at":"2026-04-20T02:32:54.508Z","repository":{"id":40535635,"uuid":"435111561","full_name":"bavix/laravel-wallet-benchmark","owner":"bavix","description":"Tests to measure the performance of different versions of laravel-wallet","archived":false,"fork":false,"pushed_at":"2026-04-18T14:08:36.000Z","size":257,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-18T14:29:12.888Z","etag":null,"topics":["benchmark","laravel","wallet"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/bavix.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-05T08:23:07.000Z","updated_at":"2026-04-18T14:08:41.000Z","dependencies_parsed_at":"2024-04-13T22:40:10.504Z","dependency_job_id":"7ed94452-e203-46b4-9a6b-4c12a29d2af9","html_url":"https://github.com/bavix/laravel-wallet-benchmark","commit_stats":{"total_commits":113,"total_committers":3,"mean_commits":"37.666666666666664","dds":"0.10619469026548678","last_synced_commit":"17f6539f418b7e65103bc4d1ca930e7fc45f7c8d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bavix/laravel-wallet-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Flaravel-wallet-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Flaravel-wallet-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Flaravel-wallet-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Flaravel-wallet-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bavix","download_url":"https://codeload.github.com/bavix/laravel-wallet-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Flaravel-wallet-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32030116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["benchmark","laravel","wallet"],"created_at":"2024-11-16T01:38:50.714Z","updated_at":"2026-04-20T02:32:54.455Z","avatar_url":"https://github.com/bavix.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"laravel-wallet-benchmark - A special project for testing performance from version to version of the laravel-wallet package.\n\n[![phpunits](https://github.com/bavix/laravel-wallet-benchmark/actions/workflows/phpunits.yaml/badge.svg)](https://github.com/bavix/laravel-wallet-benchmark/actions/workflows/phpunits.yaml)\n\n* **Vendor**: bavix\n* **Project**: laravel-wallet-benchmark\n* **PHP Version**: 8.0+\n\n---\n\n### Let's move on to the numbers.\n\nThey often write that the new version is slower than the previous one, and sometimes this is true. To reduce such claims, I made this benchmark. Its essence is to cover the main functionality and run it many times. At the output, we get a run file and aggregate the data.\n\nThe main audience of the package works with mysql, so I will be testing on mysql. Perhaps in the future, I will make configs for gitlab actions and everything will be inside the job, but now there is no time for that.\n\nLet's move on to the run configuration.\n\n* **Hardware**: MacBook Pro 13' 2020. Apple M1\n* **Memory**: 16GB\n* **Lock Provider**: redis\n* **Cache Provider**: redis\n* **Database**: MySQL 8.0.27 (arm64 in Docker)\n* **PHP**: 8.1.5 (arm64 native), pcov 1.0.11\n\n|          Name          |    6.x.x    |    7.x.x    |    8.x.x    |    9.x.x    |\n|------------------------|-------------|-------------|-------------|-------------|\n| Cart:EagerLoaderPay    | 58.949697s  | 49.58581s   | 1.466579s   | 1.032154s   |\n| Cart:Pay               | 4.08699296s | 2.50341516s | 1.03995896s | 721.67092ms |\n| Cart:PayFree           | 4.15599512s | 2.36554972s | 1.01579044s | 631.9784ms  |\n| Cart:PayOneItemXPieces | 2.0559186s  | 1.01231272s | 252.7258ms  | 83.73056ms  |\n| Solo:Deposit           | 38.18582ms  | 36.67559ms  | 37.35399ms  | 35.68319ms  |\n| Solo:EagerLoading      | 2.13623892s | 8.82851804s | 2.30754092s | 2.14806152s |\n| Solo:ForceWithdraw     | 38.39115ms  | 36.87102ms  | 37.52448ms  | 35.47786ms  |\n| Solo:GetBalance        | 23.543576ms | 24.199633ms | 23.38236ms  | 23.888203ms |\n| Solo:Transfer          | 78.80488ms  | 72.01921ms  | 72.81176ms  | 59.42262ms  |\n| State:InTransaction    | 1.82724428s | 766.2884ms  | 771.08604ms | 767.08376ms |\n\nThe pivot table was generated with the [junit-reporter](https://github.com/bavix/junit-reporter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Flaravel-wallet-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbavix%2Flaravel-wallet-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Flaravel-wallet-benchmark/lists"}