Title: Design Meeting Notes, 8/30/2024 · Issue #59809 · microsoft/TypeScript · GitHub
Open Graph Title: Design Meeting Notes, 8/30/2024 · Issue #59809 · microsoft/TypeScript
X Title: Design Meeting Notes, 8/30/2024 · Issue #59809 · microsoft/TypeScript
Description: Adding Compile-Caching Entry Points #59720 Node.js now supports V8 compilation caching. Recent PR to Node.js to add module.enableCompilerCache(). Previously were ways to do this with 3rd party packages on npm. Node.js doesn't do this by ...
Open Graph Description: Adding Compile-Caching Entry Points #59720 Node.js now supports V8 compilation caching. Recent PR to Node.js to add module.enableCompilerCache(). Previously were ways to do this with 3rd party pack...
X Description: Adding Compile-Caching Entry Points #59720 Node.js now supports V8 compilation caching. Recent PR to Node.js to add module.enableCompilerCache(). Previously were ways to do this with 3rd party pack...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/59809
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 8/30/2024","articleBody":"# Adding Compile-Caching Entry Points\n\n#59720\n\n* Node.js now supports V8 compilation caching.\n * Recent PR to Node.js to add `module.enableCompilerCache()`.\n * Previously were ways to do this with 3rd party packages on npm.\n* Node.js doesn't do this by default, but things like ts-node does on supported versions of Node.js.\n* What's the downside?\n * You need to have `require` to make this work, awkward for ESM.\n * This is being worked on.\n* tsc and tsserver start up about 2.3x faster.\n* For executables this is a no-brainer. We can actually use `import()` there too.\n* For libraries, questionable. So the PR doesn't do it.\n* The PR must introduce a new entry point for the library. Is this worth the perf improvement?\n * Yes.\n * Just add a comment telling people what's going on and it's fine.\n* Another risk - in development we recompile over and over, and that can pollute the cache.\n * The files are pretty small - not a huge risk.\n * We can add `hereby clear-node-cache`.\n* Not going to be immediate - Node-specific work would need to be back-ported in in Node.js 22; otherwise only noticeable in Node 23+.","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2024-08-30T18:26:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/59809/TypeScript/issues/59809"}
| 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:c400072e-3dfc-6548-0f7c-ce0cc843d085 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD06:156694:4425C16:59A7318:6992F3D1 |
| html-safe-nonce | b3fd46b4e1cf30a34d0c18feaa68f50b1f18ff982bfcc6d68c5b9a21e4f5710e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDA2OjE1NjY5NDo0NDI1QzE2OjU5QTczMTg6Njk5MkYzRDEiLCJ2aXNpdG9yX2lkIjoiMjk0NjM2OTIwMDU3NzUwODMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6cddb6ee95252d8c870acdaa63eae5767f974dbb18400a4d5a8d811d7abb781e |
| hovercard-subject-tag | issue:2497947804 |
| 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/microsoft/TypeScript/59809/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5e9e8c2a78b7dd7dbe6a8f0411fb7d262b077aec6def2a4fcc635fc112447e4/microsoft/TypeScript/issues/59809 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5e9e8c2a78b7dd7dbe6a8f0411fb7d262b077aec6def2a4fcc635fc112447e4/microsoft/TypeScript/issues/59809 |
| og:image:alt | Adding Compile-Caching Entry Points #59720 Node.js now supports V8 compilation caching. Recent PR to Node.js to add module.enableCompilerCache(). Previously were ways to do this with 3rd party pack... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 348cc0594c4976eb4050dc9547ecf65057ee89a2b7ed0652b983b9b539f57145 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | ce72317238c729e85014e1d867fd30d09b7f94ba |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width