{"id":17749502,"url":"https://github.com/oresoftware/testing","last_synced_at":"2025-08-17T21:40:49.956Z","repository":{"id":95713235,"uuid":"135218390","full_name":"ORESoftware/testing","owner":"ORESoftware","description":"This repo shows a performance difference when running TCP client/server locking/unlocking requests on MacOS vs Ubuntu.","archived":false,"fork":false,"pushed_at":"2018-06-02T19:11:36.000Z","size":107,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-18T16:54:47.629Z","etag":null,"topics":["nodejs","tcp","tcp-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ORESoftware.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":"2018-05-28T23:33:20.000Z","updated_at":"2018-06-02T19:11:37.000Z","dependencies_parsed_at":"2023-05-21T17:45:25.352Z","dependency_job_id":null,"html_url":"https://github.com/ORESoftware/testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ORESoftware/testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Ftesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Ftesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Ftesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Ftesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORESoftware","download_url":"https://codeload.github.com/ORESoftware/testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORESoftware%2Ftesting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270912554,"owners_count":24666748,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["nodejs","tcp","tcp-server"],"created_at":"2024-10-26T11:23:33.703Z","updated_at":"2025-08-17T21:40:49.920Z","avatar_url":"https://github.com/ORESoftware.png","language":"JavaScript","readme":"\n\n### Huge performance disparity between Linux and MacOS\n\nIn this case, MacOS is performing 10x or 100x faster, specifically\nfor the live-mutex library code.\n\n(The disparity was originally found on Node.js version 10.1, but the same disparity also exists on Node version 9).\n\n### to run tests:\n\n1. git clone https://github.com/ORESoftware/testing.git\n\n2. `npm install`\n\n3. `node live-mutex-speed.js`\n\n\nIn the live-mutex library - there is no OS specific code.\nThere is no check to see which OS it's running on.\nTherefore there is simply no OS specific branching.\n\nThat should mean that the live-mutex library itself is running\nthat much slower on Linux/Ubuntu than MacOS.\n\nExtraordinary performance difference, not sure why.\n\nOn MacOS, it takes 500ms. On Ubuntu, it takes 39,480ms, almost 100x worse performance.\n\nThe library that's experiencing the massive perf difference is located here:\nhttps://github.com/ORESoftware/live-mutex\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Ftesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foresoftware%2Ftesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foresoftware%2Ftesting/lists"}