f-spot r3979 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3979 - trunk/src
- Date: Fri, 23 May 2008 10:42:54 +0000 (UTC)
Author: sdelcroix
Date: Fri May 23 10:42:54 2008
New Revision: 3979
URL: http://svn.gnome.org/viewvc/f-spot?rev=3979&view=rev
Log:
debugging slow rating
Modified:
trunk/src/MainWindow.cs
Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs (original)
+++ trunk/src/MainWindow.cs Fri May 23 10:42:54 2008
@@ -1458,6 +1458,7 @@
public void HandleRatingMenuSelected (int r)
{
+ uint timer = Log.DebugTimerStart ();
Photo p;
db.BeginTransaction ();
foreach (int num in SelectedIds ()) {
@@ -1467,6 +1468,7 @@
}
db.CommitTransaction ();
this.photo_view.UpdateRating();
+ Log.DebugTimerPrint (timer, "HandleRating took {0}");
}
//
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]