If you want to display miliseconds, make the time be really miliseconds and not seconds
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 17 Jan 2012 12:19:51 +0000 (12:19 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 17 Jan 2012 12:19:51 +0000 (12:19 +0000)
resources/mediawiki/mediawiki.debug.js

index 39244ba..70f90bb 100644 (file)
                                $( '<tr>' )
                                        .append( $( '<td>' ).text( i + 1 ) )
                                        .append( $( '<td>' ).text( query.sql ) )
-                                       .append( $( '<td class="stats">' ).text( query.time.toFixed( 4 )+ 'ms' ) )
+                                       .append( $( '<td class="stats">' ).text( ( query.time * 1000 ).toFixed( 4 ) + 'ms' ) )
                                        .append( $( '<td>' ).text( query['function'] ) )
                                .appendTo( $table );
                        }