zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04413
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 354: fixed sum of times elapsed in benchmark extension
------------------------------------------------------------
revno: 354
committer: Seif Lotfy <seif@xxxxxxxxx>
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",