zeroshade commented on issue #2021: URL: https://github.com/apache/arrow-adbc/issues/2021#issuecomment-2237080153
So running things locally myself, I was using the `GOTOOLCHAIN` env var in order to build using different versions of go. Using your example and just swapping out the binary shared object which is being loaded, I'm not seeing anywhere near the level of difference that you are seeing comparing go1.22.5 and go1.21.12: go1.22.5: ``` Completed 100 iterations Completed 200 iterations Completed 300 iterations Completed 400 iterations Completed 500 iterations Mean: 0.012383669883012772 Median: 0.011782394954934716 Sum: 6.191834941506386 ``` go1.21.12: ``` Completed 100 iterations Completed 200 iterations Completed 300 iterations Completed 400 iterations Completed 500 iterations Mean: 0.01193752330634743 Median: 0.011252027237787843 Sum: 5.968761653173715 ``` And if I run the script multiple times, I end up with roughly the same variance between both cases. So i'm not quite sure what's going on and how you're reproducing it. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org