Profile data. unsurprisingly it's spending nearly 100% of its time in the draw function.
Flat profile:
Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls us/call us/call name 100.00 0.01 0.01 479 20.88 20.88 draw_braid 0.00 0.01 0.00 62964 0.00 0.00 applywordbackto 0.00 0.01 0.00 8866 0.00 0.00 xlockmore_event 0.00 0.01 0.00 479 0.00 20.88 xlockmore_draw 0.00 0.01 0.00 6 0.00 0.00 xlockmore_reshape 0.00 0.01 0.00 3 0.00 0.00 init_braid 0.00 0.01 0.00 1 0.00 0.00 init_window 0.00 0.01 0.00 1 0.00 0.00 make_shell 0.00 0.01 0.00 1 0.00 0.00 pick_visual 0.00 0.01 0.00 1 0.00 0.00 release_braid 0.00 0.01 0.00 1 0.00 0.00 xlockmore_free 0.00 0.01 0.00 1 0.00 0.00 xlockmore_init 0.00 0.01 0.00 1 0.00 0.00 xlockmore_setup
Profile data. unsurprisingly it's spending nearly 100% of its time in the draw function.
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls us/call us/call name
100.00 0.01 0.01 479 20.88 20.88 draw_braid
0.00 0.01 0.00 62964 0.00 0.00 applywordbackto
0.00 0.01 0.00 8866 0.00 0.00 xlockmore_event
0.00 0.01 0.00 479 0.00 20.88 xlockmore_draw
0.00 0.01 0.00 6 0.00 0.00 xlockmore_reshape
0.00 0.01 0.00 3 0.00 0.00 init_braid
0.00 0.01 0.00 1 0.00 0.00 init_window
0.00 0.01 0.00 1 0.00 0.00 make_shell
0.00 0.01 0.00 1 0.00 0.00 pick_visual
0.00 0.01 0.00 1 0.00 0.00 release_braid
0.00 0.01 0.00 1 0.00 0.00 xlockmore_free
0.00 0.01 0.00 1 0.00 0.00 xlockmore_init
0.00 0.01 0.00 1 0.00 0.00 xlockmore_setup