Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:User:Mr. Stradivarius/sandbox

From Wikipedia, the free encyclopedia
local iterations = 1000000

local p = {}

function p.time(times, func, ...)
	times = times or 1
	local tick = os.clock()
	for i=1, times do
		func(...)
	end
	local tock = os.clock()
	mw.log("Time taken: " .. (tock - tick))
end

function p.timedab()
	local mDab = require('Module:Disambiguation/sandbox')
	local content = mw.title.new('Paris'):getContent()
	p.time(100, mDab.isDisambiguation, content)
end

return p