Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29940/src/classes
Modified Files:
MessageView.cpp
Log Message:
some (commented out) benchmarking for the message viewer
Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.160
retrieving revision 1.161
diff -b -u -2 -r1.160 -r1.161
--- MessageView.cpp 27 Sep 2004 13:43:59 -0000 1.160
+++ MessageView.cpp 16 Nov 2004 14:22:25 -0000 1.161
@@ -2323,4 +2323,10 @@
m_encodingAuto = mimepart->GetTextEncoding();
+
+ //#define PROFILE_VIEWER
+#ifdef PROFILE_VIEWER
+ wxStopWatch timeViewer;
+#endif
+
// show the headers first
ShowHeaders();
@@ -2334,4 +2340,9 @@
m_viewer->EndBody();
+#ifdef PROFILE_VIEWER
+ wxLogStatus(_T("Message shown in %ldms"), timeViewer.Time());
+#endif
+
+
// if user selects the language from the menu, m_encodingUser is set
wxFontEncoding encoding;
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates