Load the attached file into a buffer: ./src/emacs --no-init d.cc Emacs will use 100% CPU on a core while the buffer is visible. CPU usage goes to normal when switching to another buffer. The attached file is a reduced version of a much larger file. (The larger file experiences the high CPU usage only while a certain portion of the code is visible.)