Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Escape/doc
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Speed== The following are benchmarks... when executing the following module function: <syntaxhighlight lang="lua"> function p.test_kill500(frame) local esc = require('Module:Escape') for k = 1, 500 do local v = esc:kill(p.test_string2(), 'test') end return os.clock(esc) end </syntaxhighlight> '''{{#invoke:Escape/testcases|test_kill500}}''' when repeating the following line 500 times in a template: {{code|<nowiki>{{#invoke:Escape|main|mode=kill|{{#invoke:Escape/testcases|test_string2}}|test}}</nowiki>|wikitext}} '''0.767'''<!-- NewPP limit report Parsed by mw1144 CPU time usage: 1.082 seconds Real time usage: 1.109 seconds Preprocessor visited node count: 4001/1000000 Preprocessor generated node count: 0/1500000 Post‐expand include size: 33000/2097152 bytes Template argument size: 0/2097152 bytes Highest expansion depth: 3/40 Expensive parser function count: 0/500 Lua time usage: 0.767/10.000 seconds Lua memory usage: 1.5 MB/50 MB --> All times in seconds. The module time x500 was calculated when you loaded this doc page (normally between 0.02 and 0.07). The template time x500 was recorded on Jan 15, 2015.
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)