Title: 50% of regex_v8 benchmark time is 2 regexes · Issue #388 · python/pyperformance · GitHub
Open Graph Title: 50% of regex_v8 benchmark time is 2 regexes · Issue #388 · python/pyperformance
X Title: 50% of regex_v8 benchmark time is 2 regexes · Issue #388 · python/pyperformance
Description: These 2 lines in block1: regexs[17].sub(r'', strings[2], count=subcount[17]) # This prints a unicode escape where the V8 version prints the # unicode character. regexs[17].sub(r'', strings[3], count=subcount[17]) take 140 ms to run while...
Open Graph Description: These 2 lines in block1: regexs[17].sub(r'', strings[2], count=subcount[17]) # This prints a unicode escape where the V8 version prints the # unicode character. regexs[17].sub(r'', strings[3], coun...
X Description: These 2 lines in block1: regexs[17].sub(r'', strings[2], count=subcount[17]) # This prints a unicode escape where the V8 version prints the # unicode character. regexs[17].sub(r'', ...
Opengraph URL: https://github.com/python/pyperformance/issues/388
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"50% of regex_v8 benchmark time is 2 regexes","articleBody":"These 2 lines in `block1`:\n```python\n regexs[17].sub(r'', strings[2], count=subcount[17])\n\n # This prints a unicode escape where the V8 version prints the\n # unicode character.\n regexs[17].sub(r'', strings[3], count=subcount[17])\n```\ntake 140 ms to run\n\nwhile full benchmark takes 300 ms.","author":{"url":"https://github.com/dg-pb","@type":"Person","name":"dg-pb"},"datePublished":"2025-04-25T16:43:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/388/pyperformance/issues/388"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:500bdfbb-1af0-bc16-970b-ab03d14e458d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFA0:15FF28:159C0E5:1E4DDE2:696A42E9 |
| html-safe-nonce | 795f18c7880ac71729822afbc51347631630015f4f3e3d6404a5ea1d8fc7ae8e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkEwOjE1RkYyODoxNTlDMEU1OjFFNERERTI6Njk2QTQyRTkiLCJ2aXNpdG9yX2lkIjoiNDkwNjMxMDcxNzg4ODE1MjI5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f486b563388cd1ef9bb1f18eb1c87c8328b4df8962c55b67a0e105e6c879dac0 |
| hovercard-subject-tag | issue:3020545537 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/pyperformance/388/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a65561f2562019360ec7e9f9cf944d0c77b28f322f0ee8c09d28f5b9f90a99b/python/pyperformance/issues/388 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a65561f2562019360ec7e9f9cf944d0c77b28f322f0ee8c09d28f5b9f90a99b/python/pyperformance/issues/388 |
| og:image:alt | These 2 lines in block1: regexs[17].sub(r'', strings[2], count=subcount[17]) # This prints a unicode escape where the V8 version prints the # unicode character. regexs[17].sub(r'', strings[3], coun... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dg-pb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width