Question: How to measure method efficiency in lisp?


How to measure method efficiency in lisp?

Answers 1
Added at 2016-12-27 17:12

For example, in Prolog time/1 can be used in order to measure the amount of inferences a method call produces.

Is there something similar in Lisp to measure the efficiency of a method to another? That would be extremely useful.

Thanks in advance for the help!

nr: #1 dodano: 2016-12-27 17:12

Common Lisp (the standard) offers time, which

prints various timing data and other information to trace output

Implementations usually provide more profiling tools which will tell you more detailed information about the function calls &c.

There is also a portable profiler called Metering.

Source Show
◀ Wstecz