Performance regression between gdb11.2 and gdb
The gdb tracker is 4 times slower with gdb 12 on my machine:
╰─ gdb --version
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
╭─ ~/boulot/git-easytracker/tools/generic/stack_heap_visualizator main ?4 ✔ │ easytracker-dev 3.10.6 🐍 14:18:36
╰─ time ./stack_heap_visualizator.py inferiors/c/heap_pointer -o out
pygame 2.5.2 (SDL 2.28.2, Python 3.10.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
./stack_heap_visualizator.py inferiors/c/heap_pointer -o out 1,58s user 0,34s system 116% cpu 1,641 total
vs
╰─ gdb --version
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
╭─ ~/boulot/git-easytracker/tools/generic/stack_heap_visualizator main ?4 ✔ easytracker-dev 3.10.6 🐍 14:21:20
╰─ time ./stack_heap_visualizator.py inferiors/c/heap_pointer -o out
pygame 2.5.2 (SDL 2.28.2, Python 3.10.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
./stack_heap_visualizator.py inferiors/c/heap_pointer -o out 4,68s user 0,37s system 105% cpu 4,779 total