Title: Get-ChildItem 3x: Replace NoteProperties on FileSystem- and RegistryProvider by class backed CodeProperties. · Issue #7501 · PowerShell/PowerShell · GitHub
Open Graph Title: Get-ChildItem 3x: Replace NoteProperties on FileSystem- and RegistryProvider by class backed CodeProperties. · Issue #7501 · PowerShell/PowerShell
X Title: Get-ChildItem 3x: Replace NoteProperties on FileSystem- and RegistryProvider by class backed CodeProperties. · Issue #7501 · PowerShell/PowerShell
Description: When using Get-ChildItem, the ProviderBase adds these note properties: PSChildName PSDrive PSIsContainer PSParentPath PSPath PSProvider This is quite expensive, both in terms of memory and execution time. By replacing the noteproperties ...
Open Graph Description: When using Get-ChildItem, the ProviderBase adds these note properties: PSChildName PSDrive PSIsContainer PSParentPath PSPath PSProvider This is quite expensive, both in terms of memory and executio...
X Description: When using Get-ChildItem, the ProviderBase adds these note properties: PSChildName PSDrive PSIsContainer PSParentPath PSPath PSProvider This is quite expensive, both in terms of memory and executio...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7501
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get-ChildItem 3x: Replace NoteProperties on FileSystem- and RegistryProvider by class backed CodeProperties.","articleBody":"When using `Get-ChildItem`, the ProviderBase adds these note properties:\r\n\r\n```\r\nPSChildName\r\nPSDrive\r\nPSIsContainer\r\nPSParentPath\r\nPSPath\r\nPSProvider\r\n```\r\n\r\n\r\nThis is quite expensive, both in terms of memory and execution time.\r\n\r\nBy replacing the noteproperties with a classes that lazily can compute most of the values, we can save both storage and time.\r\n\r\nTiming:\r\n\r\nCommand | 6.1-preview | After change | Speedup\r\n-------------------------------------- | ------------ | --------------- | ----------\r\nGCI -rec -for d:\\source\\powershell | 0.446 | 0.144 | 3.1 x \r\nGCI -rec -for c:\\windows -ea:0 | 12.24 | 6.05 | 2 x\r\nGCI -rec hkcu:\\ -ea:0 | 7.86 | 2.99 | 2.6 x\r\n\r\nCred to @lzybkr - this was his idea, not mine.\r\n","author":{"url":"https://github.com/powercode","@type":"Person","name":"powercode"},"datePublished":"2018-08-11T12:08:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/7501/PowerShell/issues/7501"}
| 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:bf6a4a39-ba8e-3b01-b34f-1ed802636512 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99CC:277230:9DE3AC:D44503:6A5B4AC9 |
| html-safe-nonce | ddfff107b991a9cbb38a8c17b698901a2e8afca2d6c6ec141971c9a2242e5446 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUNDOjI3NzIzMDo5REUzQUM6RDQ0NTAzOjZBNUI0QUM5IiwidmlzaXRvcl9pZCI6IjY2MDYzMzM0Mjg3ODIyODc1NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d5e39d60e75bbbdb9d70b67e964f985afecbb1bd1685a0406543e071269207a7 |
| hovercard-subject-tag | issue:349729669 |
| 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/7501/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87cab02185af66a2d26977c00815c2a588daaf4f2accbc8619273ad0abb25c46/PowerShell/PowerShell/issues/7501 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87cab02185af66a2d26977c00815c2a588daaf4f2accbc8619273ad0abb25c46/PowerShell/PowerShell/issues/7501 |
| og:image:alt | When using Get-ChildItem, the ProviderBase adds these note properties: PSChildName PSDrive PSIsContainer PSParentPath PSPath PSProvider This is quite expensive, both in terms of memory and executio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | powercode |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width