René's URL Explorer Experiment


Title: Use `Environment.TickCount64` in `GetUptimeCommand` by xtqqczze · Pull Request #26151 · PowerShell/PowerShell · GitHub

Open Graph Title: Use `Environment.TickCount64` in `GetUptimeCommand` by xtqqczze · Pull Request #26151 · PowerShell/PowerShell

X Title: Use `Environment.TickCount64` in `GetUptimeCommand` by xtqqczze · Pull Request #26151 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: Use the .NET Core 3.0 API Environment.TickCount64 instead of Stopwatch. Refactor into seperate methods for the different code paths. cc: @iSazonov

X Description: Use the .NET Core 3.0 API Environment.TickCount64 instead of Stopwatch. Refactor into seperate methods for the different code paths. cc: @iSazonov

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/26151

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3c5654ef-4818-a335-5c26-8c0bbe046d5e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BD6:320EB:C31C6E:1117EC7:6A4E88C0
html-safe-nonce96ee435ccd880ef232d83b0baf22a2fd017996f636b9408b9b6981cf77936325
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkQ2OjMyMEVCOkMzMUM2RToxMTE3RUM3OjZBNEU4OEMwIiwidmlzaXRvcl9pZCI6IjY4MDg3OTI3MTUzMjY1NTYzNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac66df235caca4b15ebcc0b111778d2aa5f6714917c732d40547807f8c6e907e74
hovercard-subject-tagpull_request:2888394113
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/26151/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8a5589d07b721b15a08789de8b4ab9f0b76d851722c1fac95c5cbab091a531e4/PowerShell/PowerShell/pull/26151
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8a5589d07b721b15a08789de8b4ab9f0b76d851722c1fac95c5cbab091a531e4/PowerShell/PowerShell/pull/26151
og:image:altUse the .NET Core 3.0 API Environment.TickCount64 instead of Stopwatch. Refactor into seperate methods for the different code paths. cc: @iSazonov
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamextqqczze
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/26151#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F26151
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F26151
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/26151
Reloadhttps://github.com/PowerShell/PowerShell/pull/26151
Reloadhttps://github.com/PowerShell/PowerShell/pull/26151
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.3k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 283 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
xtqqczzehttps://github.com/xtqqczze
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
xtqqczze:GetUptimeCommand-TickCount64https://github.com/xtqqczze/PowerShell-PowerShell/tree/GetUptimeCommand-TickCount64
Conversationhttps://github.com/PowerShell/PowerShell/pull/26151
Commits3 (3)https://github.com/PowerShell/PowerShell/pull/26151/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/26151/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/26151/files
Use Environment.TickCount64 in GetUptimeCommandhttps://github.com/PowerShell/PowerShell/pull/26151#top
xtqqczzehttps://github.com/xtqqczze
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
xtqqczze:GetUptimeCommand-TickCount64https://github.com/xtqqczze/PowerShell-PowerShell/tree/GetUptimeCommand-TickCount64
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 5, 2025https://github.com/PowerShell/PowerShell/pull/26151#issue-3485190710
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
@iSazonovhttps://github.com/iSazonov
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
xtqqczzehttps://github.com/xtqqczze
October 5, 2025 22:34https://github.com/PowerShell/PowerShell/pull/26151#commits-pushed-76b2986
https://github.com/xtqqczze
Use Environment.TickCount64 in GetUptimeCommandhttps://github.com/PowerShell/PowerShell/pull/26151/commits/76b2986fbaf6a1b28a55403f2a51940dda3d002d
76b2986https://github.com/PowerShell/PowerShell/pull/26151/commits/76b2986fbaf6a1b28a55403f2a51940dda3d002d
https://github.com/xtqqczze
Extract into seperate methodshttps://github.com/PowerShell/PowerShell/pull/26151/commits/351c0d81b04de0e1b44749f09641da5195555410
351c0d8https://github.com/PowerShell/PowerShell/pull/26151/commits/351c0d81b04de0e1b44749f09641da5195555410
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 5, 2025 https://github.com/PowerShell/PowerShell/pull/26151#ref-pullrequest-3479705190
Correct handling of explicit -Since:$false parameter value in Get-Uptime #26141 https://github.com/PowerShell/PowerShell/pull/26141
https://github.com/xtqqczze
Remove redundant tests etchttps://github.com/PowerShell/PowerShell/pull/26151/commits/91dfb2e0ac1c5a55f5038e2a916ddc7fe5de2662
91dfb2ehttps://github.com/PowerShell/PowerShell/pull/26151/commits/91dfb2e0ac1c5a55f5038e2a916ddc7fe5de2662
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Oct 8, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3379448582
@xtqqczzehttps://github.com/xtqqczze
dotnet/runtime#77945https://github.com/dotnet/runtime/issues/77945
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 8, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3379459751
@iSazonovhttps://github.com/iSazonov
dotnet/runtime#77945https://github.com/dotnet/runtime/issues/77945
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Oct 8, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3379492016
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 8, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3379499824
#18469https://github.com/PowerShell/PowerShell/issues/18469
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Oct 8, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3382574135
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 8, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3382659089
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Oct 9, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3385279963
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 9, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3385743770
dotnet/runtime#119443https://github.com/dotnet/runtime/pull/119443
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Oct 12, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-20235796222
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Stale https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale
Oct 27, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-20538346181
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 27, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3453796719
dotnet/runtime#119443https://github.com/dotnet/runtime/pull/119443
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Stale https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale
Oct 27, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-20538775342
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Oct 28, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3454438929
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Oct 31, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-20626408510
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Nov 4, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3488347802
dotnet/runtime#119443https://github.com/dotnet/runtime/pull/119443
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Nov 4, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-20714807222
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Stale https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale
Nov 23, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-21121069048
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Nov 23, 2025https://github.com/PowerShell/PowerShell/pull/26151#issuecomment-3567805095
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Dec 3, 2025https://github.com/PowerShell/PowerShell/pull/26151#event-21338197164
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F26151
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Stale https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/26151
https://github.com/xtqqczze
https://github.com/iSazonov
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.