Template talk:Scinote

(Redirected from Template talk:Scinote/testcases)
Latest comment: 16 years ago by Jimp in topic Test

Test

edit

Scinote was tested in WT:SAND against {{X1}}, where {{X1}} was as below.

9 Apr 08 Test: {{Scinote}} vs {{Ordomag}}
X1:
{{X2|{{{1}}}|{{ordomag|{{{1}}}}}}}

X2:
{{#expr:{{{1}}}/{{10^/{{{2}}}}}}}×10<sup>{{{2}}}</sup>

===============

RESULTS:

{{X1|0.0000000001234}}
NewPP limit report
Preprocessor node count: 52/1000000
Post-expand include size: 671/2048000 bytes
Template argument size: 357/2048000 bytes
Expensive parser function count: 0/500

{{scinote|0.0000000001234}}
NewPP limit report
Preprocessor node count: 66/1000000
Post-expand include size: 189/2048000 bytes
Template argument size: 420/2048000 bytes
Expensive parser function count: 0/500

{{X1|0.0001234}}
NewPP limit report
Preprocessor node count: 46/1000000
Post-expand include size: 318/2048000 bytes
Template argument size: 179/2048000 bytes
Expensive parser function count: 0/500

{{scinote|0.0001234}}
NewPP limit report
Preprocessor node count: 50/1000000
Post-expand include size: 131/2048000 bytes
Template argument size: 184/2048000 bytes
Expensive parser function count: 0/500

{{X1|123456}}
NewPP limit report
Preprocessor node count: 40/1000000
Post-expand include size: 134/2048000 bytes
Template argument size: 80/2048000 bytes
Expensive parser function count: 0/500

{{scinote|123456}}
NewPP limit report
Preprocessor node count: 42/1000000
Post-expand include size: 103/2048000 bytes
Template argument size: 100/2048000 bytes
Expensive parser function count: 0/500

{{X1|123456789012}}
NewPP limit report
Preprocessor node count: 46/1000000
Post-expand include size: 387/2048000 bytes
Template argument size: 229/2048000 bytes
Expensive parser function count: 0/500

{{scinote|123456789012}}
NewPP limit report
Preprocessor node count: 58/1000000
Post-expand include size: 200/2048000 bytes
Template argument size: 290/2048000 bytes
Expensive parser function count: 0/500

Scinote's post-expand include size was significantly lower, neither template used expensive parser functions (as of 9 Apr 08, #ifexist and {{PAGESINCATEGORY}}), on other counts X1 did slightly better. Scinote's range was greater than that of X1 but this was simply due to the current limits of {{10^}} (an easy fix if ever needed). JЇѦρ 02:51, 10 April 2008 (UTC)Reply