HTML Preparation code:
AخA
 
1
<head>
2
    <title>Hello World!</title> 
3
    <meta name="viewport" content="width=device-width, initial-scale=1"/> 
4
    <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js'></script>
5
</head>
6
<body> 
7
<div data-role="page">
8
    <div data-role="header">
9
        <h1>Curonsys</h1>
10
    </div>
11
    <div data-role="content"> 
12
        <p>Hello world</p>
13
    </div>
14
</div>
15
</body>
Script Preparation code:
 
function loadScript(url, callback) {
    var script = document.createElement('script');
    script.src = url;
    script.onload = callback;
    document.getElementsByTagName('head')[0].appendChild(script);
}
var loaded = function() {
    document.write(str);
}
Tests:
  • v145

     
    loadScript('http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js', loaded);
  • v132

     
    loadScript('http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js', loaded);
  • v112

     
    loadScript('http://code.jquery.com/mobile/1.1.2/jquery.mobile-1.1.2.min.js', loaded);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    v145
    v132
    v112

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Linux; Android 8.0.0; MI 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75 on Android 8.0.0
View result in a separate tab
Test name Executions per second
v145 2647.2 Ops/sec
v132 1258.1 Ops/sec
v112 980.3 Ops/sec