|
|
|
|
| 2439 |
# Settle OS. |
2439 |
# Settle OS. |
| 2440 |
run_system_cmd("sync; sleep 5", 35); |
2440 |
run_system_cmd("sync; sleep 5", 35); |
| 2441 |
|
2441 |
|
| 2442 |
my @urlargs = (-chrome,"file:$build_dir/mozilla/xpfe/test/winopen.xul"); |
2442 |
my @urlargs = (-chrome,"javascript:try{JProfStartProfiling();}catch(e){};window.location='file:$build_dir/mozilla/xpfe/test/winopen.xul'"); |
| 2443 |
if($test_result eq 'success') { |
2443 |
if($test_result eq 'success') { |
| 2444 |
if ($talkback_installed) { |
2444 |
if ($talkback_installed) { |
| 2445 |
setTestnameForTalkbackReport($talkback_ini_path,$test_name); |
2445 |
setTestnameForTalkbackReport($talkback_ini_path,$test_name); |
|
|
| 2632 |
} |
2632 |
} |
| 2633 |
} |
2633 |
} |
| 2634 |
|
2634 |
|
|
|
2635 |
# FIXME check if jprof is turned on |
| 2636 |
print_log "Running jprof for $test_name..\n"; |
| 2637 |
run_shell_command("cd $binary_dir && ./jprof firefox-bin jprof-log > ../$test_name-jprof.html"); |
| 2638 |
|
| 2635 |
return $rv; |
2639 |
return $rv; |
| 2636 |
} |
2640 |
} |
| 2637 |
|
2641 |
|
|
|
| 2705 |
my $layout_time; |
2709 |
my $layout_time; |
| 2706 |
my $layout_time_details; |
2710 |
my $layout_time_details; |
| 2707 |
my $binary_log = "$build_dir/$test_name.log"; |
2711 |
my $binary_log = "$build_dir/$test_name.log"; |
| 2708 |
my $url = "http://$Settings::pageload_server/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=$Settings::LayoutPerformanceTestPageTimeout&auto=1"; |
2712 |
my $url = "javascript:try{JProfStartProfiling();}catch(e){};window.location='http://$Settings::pageload_server/page-loader/loader.pl?delay=1000&nocache=0&maxcyc=4&timeout=$Settings::LayoutPerformanceTestPageTimeout&auto=1'"; |
| 2709 |
|
2713 |
|
| 2710 |
# Settle OS. |
2714 |
# Settle OS. |
| 2711 |
run_system_cmd("sync; sleep 5", 35); |
2715 |
run_system_cmd("sync; sleep 5", 35); |
|
|
| 2781 |
my $layout_time; |
2785 |
my $layout_time; |
| 2782 |
my $layout_time_details; |
2786 |
my $layout_time_details; |
| 2783 |
my $binary_log = "$build_dir/$test_name.log"; |
2787 |
my $binary_log = "$build_dir/$test_name.log"; |
| 2784 |
my $url = "http://localhost/pageload/cycler.html"; |
2788 |
my $url = "javascript:try{JProfStartProfiling();}catch(e){};window.location='http://localhost/pageload/cycler.html'"; |
| 2785 |
|
2789 |
|
| 2786 |
# Settle OS. |
2790 |
# Settle OS. |
| 2787 |
run_system_cmd("sync; sleep 5", 35); |
2791 |
run_system_cmd("sync; sleep 5", 35); |
|
|
| 2837 |
my $dhtml_time; |
2841 |
my $dhtml_time; |
| 2838 |
my $dhtml_time_details; |
2842 |
my $dhtml_time_details; |
| 2839 |
my $binary_log = "$build_dir/$test_name.log"; |
2843 |
my $binary_log = "$build_dir/$test_name.log"; |
| 2840 |
my $url = "http://www.mozilla.org/performance/test-cases/dhtml/runTests.html"; |
2844 |
my $url = "javascript:try{JProfStartProfiling();}catch(e){};window.location='http://www.mozilla.org/performance/test-cases/dhtml/runTests.html'"; |
| 2841 |
|
2845 |
|
| 2842 |
# Settle OS. |
2846 |
# Settle OS. |
| 2843 |
run_system_cmd("sync; sleep 5", 35); |
2847 |
run_system_cmd("sync; sleep 5", 35); |