imply-cheddar opened a new pull request, #14530: URL: https://github.com/apache/druid/pull/14530
UniformGranularityTest's tes to test a large number of intervals runs through 10 years of 1 second intervals. This pushes a lot of stuff through IntervalIterator and shows up in terms of test runtime as one of the hottest tests. Most of the time is going to constructing jodatime objects because it is doing things with DateTime objects instead of millis. Change the calls to use millis instead and things go faster. This is a flamegraph of the CPU usage of this test <img width="1942" alt="image" src="https://github.com/apache/druid/assets/86940447/464fe17d-bcc2-4bc2-93a3-778925adf037"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
