RUM-10363: Replace System static calls with TimeProvider#3011
Merged
Conversation
|
🎯 Code Coverage 🔗 Commit SHA: 733a513 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
kikoveiga
marked this pull request as ready for review
December 9, 2025 17:19
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
5 times, most recently
from
December 12, 2025 12:14
d4a2312 to
3715bec
Compare
aleksandr-gringauz
previously approved these changes
Dec 16, 2025
0xnm
requested changes
Dec 16, 2025
0xnm
left a comment
Member
There was a problem hiding this comment.
I very briefly went through some files.
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
from
December 16, 2025 13:23
3715bec to
5153c40
Compare
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
from
December 17, 2025 12:43
6c5ec4a to
d6bd044
Compare
0xnm
reviewed
Dec 17, 2025
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
2 times, most recently
from
December 22, 2025 17:38
54e7da2 to
5491a1b
Compare
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
5 times, most recently
from
December 23, 2025 17:54
bf2f14c to
fa401f1
Compare
aleksandr-gringauz
previously approved these changes
Dec 31, 2025
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
2 times, most recently
from
December 31, 2025 16:06
1f8d675 to
815615b
Compare
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
from
December 31, 2025 16:10
815615b to
af30673
Compare
0xnm
previously approved these changes
Jan 2, 2026
kikoveiga
force-pushed
the
kikoveiga/RUM-10363/use-time-provider
branch
from
January 2, 2026 14:03
01e1ea1 to
733a513
Compare
ambushwork
approved these changes
Jan 2, 2026
0xnm
approved these changes
Jan 2, 2026
This was referenced Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
System.currentTimeMillis()andSystem.nanoTime()calls withTimeProviderinterface calls.Thread.sleepcalls with fake timestamps using amockTimeProvider.Motivation
Additional Notes
These are the results of running debug unit tests locally on develop and current branch, where there are noticeable time improvements.
Review checklist (to be filled by reviewers)