Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Gallery page performance improvements #3289

Merged
merged 10 commits into from
Feb 14, 2012
Merged
Prev Previous commit
Next Next commit
more generic identifier for performance test pages (list-page->perf-t…
…est-page)
  • Loading branch information
sgrebnov committed Dec 27, 2011
commit 9236f20bfacdfc9f18a8e1d82bbbec4c9983ba61
2 changes: 1 addition & 1 deletion tests/speed/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page">

<div data-role="header">
<h1>Checkboxradio</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/speed/checkbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page" id="perf-test-page">

<div data-role="header">
<h1>Checkboxradio</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/speed/lists-ul-record.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page" id="perf-test-page">

<div data-role="header">
<h1>400 item list</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/speed/select.custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page">

<div data-role="header">
<h1>Custom selectmenu</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/speed/select.custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page" id="perf-test-page">

<div data-role="header">
<h1>Custom selectmenu</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/speed/slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page">

<div data-role="header">
<h1>Slider</h1>
Expand Down
2 changes: 1 addition & 1 deletion tests/speed/slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</head>
<body>

<div data-role="page" id="list-page">
<div data-role="page" id="perf-test-page">

<div data-role="header">
<h1>Slider</h1>
Expand Down
6 changes: 3 additions & 3 deletions tests/speed/stats/startup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function(Perf) {
var $listPage = $( "#list-page" ), firstCounter = 0;
var $listPage = $( "#perf-test-page" ), firstCounter = 0;

Perf.setCurrentRev();
Perf.pageLoadStart = Date.now();
Expand All @@ -16,7 +16,7 @@
});

$listPage.live( "pagecreate", function( event ) {
if( event.target !== $("#list-page")[0] ){
if( event.target !== $("#perf-test-page")[0] ){
return;
}

Expand All @@ -26,7 +26,7 @@
$listPage.live( "pageinit", function( event ) {
// if a child page init is fired ignore it, we only
// want the top level page init event
if( event.target !== $("#list-page")[0] ){
if( event.target !== $("#perf-test-page")[0] ){
return;
}

Expand Down