------------------------------------------------------------
revno: 354
committer: Seif Lotfy <s...@lotfy.com>
branch nick: zeitgeist
timestamp: Thu 2011-12-22 23:28:16 +0100
message:
  fixed sum of times elapsed in benchmark extension
modified:
  extensions/benchmark.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/benchmark.vala'
--- extensions/benchmark.vala	2011-12-21 21:15:18 +0000
+++ extensions/benchmark.vala	2011-12-22 22:28:16 +0000
@@ -72,12 +72,12 @@
             var events = engine.get_events (ids);
             var get_events_elapsed = get_events_timer.elapsed();
             
-            var find_events_elapsed = get_events_elapsed + find_event_ids_elapsed;
-            
             var marsh_events_timer = new Timer ();
             var marsh_events = Events.to_variant(events);
             var marsh_events_elapsed = marsh_events_timer.elapsed();
             
+            var find_events_elapsed = get_events_elapsed + find_event_ids_elapsed + marsh_events_elapsed;
+            
             extra_data.insert("find_event_ids", 
                 new Variant.double(find_event_ids_elapsed));
             extra_data.insert("get_events", 

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to