Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Squirrelly Speed
(version: 0)
Test speed and performa Squirrelly
Comparing performance of:
Standard vs With Conditional and loop
Created:
6 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://unpkg.com/squirrelly@latest/dist/squirrelly.min.js"></script>
Tests:
Standard
var myTemplate = "<p>My favorite kind of cake is: {{favoriteCake}}</p>"; var result = Sqrl.Render(myTemplate, {favoriteCake: 'Chocolate!'});
With Conditional and loop
var data = { favoriteCake: 'Chocolate!', test: 'ok', name: ['Yoan', 'Azhari'] }; var myTemplate = ` <p>My favorite kind of cake is: {{favoriteCake}}</p> <p> test Conditional {{if(options.test === "ok")}} Display this! {{#else}} They don't equal {{/if}} </p> <p> test Loop {{each(options.name)}} Hallo {{@this}}, the current index is {{@index}} {{/each}} </p> `; var result = Sqrl.Render(myTemplate, data);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Standard
With Conditional and loop
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
ZZZZZZ
Test Speed Test
Math.abs speed vs multiply full example vs steps mid point
Math.abs speed vs multiply vs steps mid point vs epsilon
GetRotation v2
Comments
Confirm delete:
Do you really want to delete benchmark?