gf2121 commented on PR #12775: URL: https://github.com/apache/lucene/pull/12775#issuecomment-1801128536
Something odd: I accidentally run the benchmark on another mac with `intel chip` and the result is disappointing (no improvements) ``` use stable sort: false, sort 5169965 terms, took: 5322ms use stable sort: false, sort 5169965 terms, took: 5605ms use stable sort: false, sort 5169965 terms, took: 5457ms use stable sort: false, sort 5169965 terms, took: 5392ms use stable sort: false, sort 5169965 terms, took: 5379ms use stable sort: false, sort 5169965 terms, took: 5442ms use stable sort: false, sort 5169965 terms, took: 5262ms use stable sort: false, sort 5169965 terms, took: 5100ms use stable sort: false, sort 5169965 terms, took: 5057ms use stable sort: false, sort 5169965 terms, took: 5160ms use stable sort: false, sort 5169965 terms, took: 5207ms use stable sort: false, sort 3130385 terms, took: 2868ms use stable sort: true, sort 5169965 terms, took: 5083ms use stable sort: true, sort 5169965 terms, took: 5332ms use stable sort: true, sort 5169965 terms, took: 5322ms use stable sort: true, sort 5169965 terms, took: 5333ms use stable sort: true, sort 5169965 terms, took: 5295ms use stable sort: true, sort 5169965 terms, took: 5306ms use stable sort: true, sort 5169965 terms, took: 5317ms use stable sort: true, sort 5169965 terms, took: 5336ms use stable sort: true, sort 5169965 terms, took: 5284ms use stable sort: true, sort 5169965 terms, took: 5344ms use stable sort: true, sort 5169965 terms, took: 5289ms use stable sort: true, sort 3130385 terms, took: 2837ms ``` But I can easily reproduce the speedup on the `M2 chip` mac that produced all benchmark results above: ``` use stable sort: false, sort 5169965 terms, took: 2340ms use stable sort: false, sort 5169965 terms, took: 2197ms use stable sort: false, sort 5169965 terms, took: 2288ms use stable sort: false, sort 5169965 terms, took: 2320ms use stable sort: false, sort 5169965 terms, took: 2227ms use stable sort: false, sort 5169965 terms, took: 2238ms use stable sort: false, sort 5169965 terms, took: 2256ms use stable sort: false, sort 5169965 terms, took: 2287ms use stable sort: false, sort 5169965 terms, took: 2244ms use stable sort: false, sort 5169965 terms, took: 2240ms use stable sort: false, sort 5169965 terms, took: 2320ms use stable sort: false, sort 3130385 terms, took: 1082ms use stable sort: true, sort 5169965 terms, took: 1418ms use stable sort: true, sort 5169965 terms, took: 1303ms use stable sort: true, sort 5169965 terms, took: 1290ms use stable sort: true, sort 5169965 terms, took: 1349ms use stable sort: true, sort 5169965 terms, took: 1293ms use stable sort: true, sort 5169965 terms, took: 1329ms use stable sort: true, sort 5169965 terms, took: 1332ms use stable sort: true, sort 5169965 terms, took: 1307ms use stable sort: true, sort 5169965 terms, took: 1280ms use stable sort: true, sort 5169965 terms, took: 1336ms use stable sort: true, sort 5169965 terms, took: 1302ms use stable sort: true, sort 3130385 terms, took: 623ms ``` -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org