[M3devel] performance problems in CM3 Text operations on AMD64_LINUX
mika at async.caltech.edu
mika at async.caltech.edu
Fri Jan 10 16:27:10 CET 2014
>Mika=2C how did you find this?Control-c every so often and look at callstac=
>k?Or a lot of stepping?
"Poor man's profiling" -- since profiling is usually broken in Modula-3. It worked back with SRC M3 but that was a while ago :-)
1. run program in gdb
2. close eyes
3. count to three
4. hit ctrl-C
5. open eyes
(repeat a few times)
"close eyes" is important!
More information about the M3devel
mailing list