Title: pwsh is 2 times slower than powershell to load · Issue #6443 · PowerShell/PowerShell · GitHub
Open Graph Title: pwsh is 2 times slower than powershell to load · Issue #6443 · PowerShell/PowerShell
X Title: pwsh is 2 times slower than powershell to load · Issue #6443 · PowerShell/PowerShell
Description: Powershell 6 is slow to start up compared to powershell function time($block) { $sw = [Diagnostics.Stopwatch]::StartNew() &$block $sw.Stop() $sw.Elapsed } Major Minor Build Revision ----- ----- ----- -------- 5 1 17115 1 vs Major Minor P...
Open Graph Description: Powershell 6 is slow to start up compared to powershell function time($block) { $sw = [Diagnostics.Stopwatch]::StartNew() &$block $sw.Stop() $sw.Elapsed } Major Minor Build Revision ----- ----- ---...
X Description: Powershell 6 is slow to start up compared to powershell function time($block) { $sw = [Diagnostics.Stopwatch]::StartNew() &$block $sw.Stop() $sw.Elapsed } Major Minor Build Revision ----- -----...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6443
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pwsh is 2 times slower than powershell to load","articleBody":"Powershell 6 is slow to start up compared to powershell\r\n```\r\nfunction time($block) {\r\n $sw = [Diagnostics.Stopwatch]::StartNew()\r\n \u0026$block\r\n $sw.Stop()\r\n $sw.Elapsed\r\n}\r\n\r\nMajor Minor Build Revision\r\n----- ----- ----- --------\r\n5 1 17115 1\r\n\r\nvs\r\n\r\nMajor Minor Patch PreReleas BuildLabel\r\n eLabel\r\n----- ----- ----- --------- ----------\r\n6 0 2\r\n\r\n\r\nmus@mus-laptop ~\r\n\u003e time {powershell -NoProfile -c exit}\r\n\r\n\r\nDays : 0\r\nHours : 0\r\nMinutes : 0\r\nSeconds : 0\r\nMilliseconds : 233\r\nTicks : 2337327\r\nTotalDays : 2.70523958333333E-06\r\nTotalHours : 6.492575E-05\r\nTotalMinutes : 0.003895545\r\nTotalSeconds : 0.2337327\r\nTotalMilliseconds : 233.7327\r\n\r\n\r\n\r\nmus@mus-laptop ~\r\n\u003e time {pwsh -NoProfile -c exit}\r\n\r\n\r\nDays : 0\r\nHours : 0\r\nMinutes : 0\r\nSeconds : 0\r\nMilliseconds : 540\r\nTicks : 5400421\r\nTotalDays : 6.25048726851852E-06\r\nTotalHours : 0.000150011694444444\r\nTotalMinutes : 0.00900070166666667\r\nTotalSeconds : 0.5400421\r\nTotalMilliseconds : 540.0421\r\n\r\n\r\n\r\n\r\n\r\n\u003e time {cmd /c exit}\r\n\r\n\r\nDays : 0\r\nHours : 0\r\nMinutes : 0\r\nSeconds : 0\r\nMilliseconds : **42**\r\nTicks : 426119\r\nTotalDays : 4.93193287037037E-07\r\nTotalHours : 1.18366388888889E-05\r\nTotalMinutes : 0.000710198333333333\r\nTotalSeconds : 0.0426119\r\nTotalMilliseconds : 42.6119\r\n\r\n\r\n\r\nWinver: 17115.1\r\n\r\n```\r\n","author":{"url":"https://github.com/musm","@type":"Person","name":"musm"},"datePublished":"2018-03-20T23:18:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":43},"url":"https://github.com/6443/PowerShell/issues/6443"}
| 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:7b053afe-4f28-3431-eb5b-8d4f4dc2f2bc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C24:3C1A41:6C5A2E:921791:6A555BC9 |
| html-safe-nonce | 0e719847b2cd0bf736daa235b5ee8da4cc7fd9ce8c97b006092ef313242a0bd8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzI0OjNDMUE0MTo2QzVBMkU6OTIxNzkxOjZBNTU1QkM5IiwidmlzaXRvcl9pZCI6IjIwMTE2NDg0OTYxMDU3ODg4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5306740411776829a22e94a8808fca065a0de0c9413d2d0e36df77582613bdc0 |
| hovercard-subject-tag | issue:307072905 |
| 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/PowerShell/PowerShell/6443/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05f0370f391e84ba4bd34c128665eb274265756e77ef7588aaa23b16222078dc/PowerShell/PowerShell/issues/6443 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05f0370f391e84ba4bd34c128665eb274265756e77ef7588aaa23b16222078dc/PowerShell/PowerShell/issues/6443 |
| og:image:alt | Powershell 6 is slow to start up compared to powershell function time($block) { $sw = [Diagnostics.Stopwatch]::StartNew() &$block $sw.Stop() $sw.Elapsed } Major Minor Build Revision ----- ----- ---... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | musm |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 73595e82546ca2415571a2031890ab16ecb3001a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width