LakshSingla commented on pull request #12001: URL: https://github.com/apache/druid/pull/12001#issuecomment-986780710
I have updated the latest benchmark to call refreshSegment repeatedly on an already present segment id. Also using JMH's Blackhole and State objects to consume and provide the parameters to the `refreshSegment` call. Following are the results: With interning: ``` Benchmark (iterations) (numColumns) Mode Cnt Score Error Units DruidSchemaAddSegmentBenchmark.addSegments 10000 1000 avgt 15 2170791.575 ± 364899.773 us/op ``` Without interning: ``` Benchmark (iterations) (numColumns) Mode Cnt Score Error Units DruidSchemaAddSegmentBenchmark.addSegments 10000 1000 avgt 15 1714452.523 ± 126620.724 us/op ``` The rows has 1000 columns, and the call to refresh segments is made 10000 times. -- 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]
