Measuring Performance
(defun try ()
(time
(dotimes (I 100)
(make-instance ‘point :x 1 :y 1) )))
(compile ‘try)
Choose a number of iterations such that the loop takes at least a second
Calculate iterations per second
Replace make-instance with other things
Previous slide
Next slide
Back to first slide
View graphic version