{"id":16417077,"url":"https://github.com/tkrotoff/jsdom-slow-url-parsing","last_synced_at":"2026-05-14T22:02:21.532Z","repository":{"id":238596134,"uuid":"796750033","full_name":"tkrotoff/jsdom-slow-URL-parsing","owner":"tkrotoff","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-31T14:53:29.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T04:05:24.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkrotoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-05-06T14:59:51.000Z","updated_at":"2025-07-31T14:53:33.000Z","dependencies_parsed_at":"2025-07-31T16:24:40.790Z","dependency_job_id":"356d062e-f318-43d3-8bc9-1e8bf6a66448","html_url":"https://github.com/tkrotoff/jsdom-slow-URL-parsing","commit_stats":null,"previous_names":["tkrotoff/jsdom-slow-url-parsing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tkrotoff/jsdom-slow-URL-parsing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrotoff%2Fjsdom-slow-URL-parsing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrotoff%2Fjsdom-slow-URL-parsing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrotoff%2Fjsdom-slow-URL-parsing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrotoff%2Fjsdom-slow-URL-parsing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkrotoff","download_url":"https://codeload.github.com/tkrotoff/jsdom-slow-URL-parsing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrotoff%2Fjsdom-slow-URL-parsing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33045145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":[],"created_at":"2024-10-11T07:10:57.058Z","updated_at":"2026-05-14T22:02:21.528Z","avatar_url":"https://github.com/tkrotoff.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsdom-slow-URL-parsing\n\nhttps://github.com/jsdom/jsdom/issues/3712\n\nhttps://github.com/mswjs/msw/discussions/2141\n\n[JSDOM/whatwg-url](https://github.com/jsdom/whatwg-url) is slow to parse URLs with long query string.\n\nThis repo is an example with 500 [MSW](https://github.com/mswjs/msw) handlers.\n\nResults (MacBook Pro 14\" M4 Pro, macOS 15.5, Node.js v22.17.1):\n\n- Vitest `environment: 'node'`\n  - JSDOM + MSW short URL: 99.363ms\n  - JSDOM + MSW long URL: 94.716ms\n\n- Vitest `environment: 'happy-dom'`\n  - JSDOM + MSW short URL: 97.201ms\n  - JSDOM + MSW long URL: 94.812ms\n\n- Vitest `environment: 'jsdom'`\n  - JSDOM + MSW short URL: 118.238ms\n  - JSDOM + MSW long URL: **2.331s**\n\n- Vitest `environment: 'jsdom'` + [whatwg-url patched](./patches/whatwg-url+14.2.0.patch)\n  - JSDOM + MSW short URL: 102.898ms\n  - JSDOM + MSW long URL: **130.679ms**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkrotoff%2Fjsdom-slow-url-parsing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkrotoff%2Fjsdom-slow-url-parsing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkrotoff%2Fjsdom-slow-url-parsing/lists"}