zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04590
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 374: - Remove superfluous spaces in benchmark.vala
------------------------------------------------------------
revno: 374
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Thu 2012-01-26 11:08:09 +0100
message:
- Remove superfluous spaces in benchmark.vala
- Add "// vim" line to files" where it was missing
modified:
extensions/benchmark.vala
src/extension-collection.vala
src/extension-store.vala
src/extension.vala
src/table-lookup.vala
src/zeitgeist-daemon.vala
test/direct/marshalling-test.vala
test/direct/query-operators-test.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-28 19:44:31 +0000
+++ extensions/benchmark.vala 2012-01-26 10:08:09 +0000
@@ -55,42 +55,42 @@
}
public async HashTable<string, Variant> find_events (Variant time_range,
- Variant filter_templates, uint storage_state, uint num_events,
+ Variant filter_templates, uint storage_state, uint num_events,
uint result_type)
throws Error
{
var data = new HashTable<string, Variant> (str_hash, str_equal);
-
+
var find_event_ids_timer = new Timer ();
var ids = engine.find_event_ids (
new TimeRange.from_variant (time_range),
Events.from_variant (filter_templates),
- storage_state, num_events, result_type);
+ storage_state, num_events, result_type);
var find_event_ids_elapsed = find_event_ids_timer.elapsed();
-
+
var get_events_timer = new Timer ();
var events = engine.get_events (ids);
var get_events_elapsed = get_events_timer.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;
-
- data.insert("find_event_ids",
+
+ data.insert("find_event_ids",
new Variant.double(find_event_ids_elapsed));
- data.insert("get_events",
+ data.insert("get_events",
new Variant.double(get_events_elapsed));
- data.insert("find_events",
+ data.insert("find_events",
new Variant.double(find_events_elapsed));
- data.insert("marsh_events",
+ data.insert("marsh_events",
new Variant.double(marsh_events_elapsed));
data.insert("events", marsh_events);
-
+
return data;
}
-
+
public override void unload ()
{
try
=== modified file 'src/extension-collection.vala'
--- src/extension-collection.vala 2012-01-02 19:31:15 +0000
+++ src/extension-collection.vala 2012-01-26 10:08:09 +0000
@@ -198,4 +198,5 @@
#endif
}
+
// vim:expandtab:ts=4:sw=4
=== modified file 'src/extension-store.vala'
--- src/extension-store.vala 2011-10-10 10:51:07 +0000
+++ src/extension-store.vala 2012-01-26 10:08:09 +0000
@@ -121,4 +121,5 @@
}
}
+
// vim:expandtab:ts=4:sw=4
=== modified file 'src/extension.vala'
--- src/extension.vala 2012-01-02 19:31:15 +0000
+++ src/extension.vala 2012-01-26 10:08:09 +0000
@@ -260,4 +260,5 @@
}
}
+
// vim:expandtab:ts=4:sw=4
=== modified file 'src/table-lookup.vala'
--- src/table-lookup.vala 2011-10-19 08:37:00 +0000
+++ src/table-lookup.vala 2012-01-26 10:08:09 +0000
@@ -103,3 +103,5 @@
}
}
+
+// vim:expandtab:ts=4:sw=4
=== modified file 'src/zeitgeist-daemon.vala'
--- src/zeitgeist-daemon.vala 2012-01-25 13:24:34 +0000
+++ src/zeitgeist-daemon.vala 2012-01-26 10:08:09 +0000
@@ -503,4 +503,5 @@
}
}
+
// vim:expandtab:ts=4:sw=4
=== modified file 'test/direct/marshalling-test.vala'
--- test/direct/marshalling-test.vala 2012-01-25 17:37:55 +0000
+++ test/direct/marshalling-test.vala 2012-01-26 10:08:09 +0000
@@ -186,3 +186,5 @@
error_thrown = true;
}
}
+
+// vim:expandtab:ts=4:sw=4
=== modified file 'test/direct/query-operators-test.vala'
--- test/direct/query-operators-test.vala 2011-12-31 00:31:17 +0000
+++ test/direct/query-operators-test.vala 2012-01-26 10:08:09 +0000
@@ -197,3 +197,5 @@
{
}
}
+
+// vim:expandtab:ts=4:sw=4