Module:Timing/doc: Difference between revisions

Content deleted Content added
Line 66:
Total time spent was about 0.000585205 seconds.
</pre>
 
An alternate form with an anonymous function is
 
<source lang="Lua">
=require 'Module:Timing'(function() return p.hello(mw.getCurrentFrame()) end)
</source>
 
Sometimes it is better to put the wrapper in the module under inspection itself