Stop the stopwatch.
This method ends a new timing session, allowing the time to be retrieved.
550551552553554555556557558559560
{ log.fatal("No MD5 algorithm!?!"); } finally { sw.stop(); log.debug("serialization for "+p.getName()+" done - took "+sw); } }
134135136137138139140141142143144
counter++; } } } sw.stop(); if( log.isDebugEnabled() ) log.debug("Suggestion request for "+wikiName+" done in "+sw); return list; } /**
180181182183184185186187188189190
{ log.info("AJAX search failed; ",e); } } sw.stop(); if( log.isDebugEnabled() ) log.debug("AJAX search complete in "+sw); return list; } }
15351536153715381539154015411542154315441545
} catch( FilterException e ) { // FIXME: Don't yet know what to do } sw.stop(); if( log.isDebugEnabled() ) log.debug("Page "+context.getRealPage().getName()+" rendered, took "+sw ); return result; }
16761677167816791680168116821683168416851686
if( runFilters && m_filterManager != null ) result = m_filterManager.doPostTranslateFiltering( context, result ); } sw.stop(); if( log.isDebugEnabled() ) log.debug("Page "+context.getRealPage().getName()+" rendered, took "+sw ); } catch( IOException e )
8182838485868788899091
String html = m_manager.getHTML( context, d ); assertNotNull( "noncached got null response",html); } sw.stop(); System.out.println(" Nocache took "+sw); long nocachetime = sw.getTime(); sw.reset();
101102103104105106107108109110111
String html = m_manager.getHTML( context, pagedata ); assertNotNull("cached got null response",html); } sw.stop(); System.out.println(" Cache took "+sw); long speedup = nocachetime / sw.getTime(); System.out.println(" Approx speedup: "+speedup+"x"); }
624625626627628629630631632633634
commentAuthorEmail, commentAuthorURL, change.toString(), null ); sw.stop(); log.debug("Akismet request done in: "+sw); if( isSpam ) {
15191520152115221523152415251526152715281529
16601661166216631664166516661667166816691670