content-hub click hook takes forever
Bug #1287674 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
content-hub |
Fix Released
|
Undecided
|
Unassigned | ||
content-hub (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
content-hub click hook takes forever when booting the emulator, this needs to be profiled. I'm not sure what it's doing, given that I can't seem to find the "content-hub" json definitions that it's supposed to process and setup peers for.
I don't see a bug filed for this thus opening one.
Related branches
lp:~xnox/content-hub/speed-up-no-op
- Ken VanDine: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 28 lines (+11/-0)1 file modifiedsrc/com/ubuntu/content/service/helper.cpp (+11/-0)
Changed in content-hub (Ubuntu): | |
assignee: | Lars Uebernickel (larsu) → nobody |
Changed in content-hub: | |
status: | New → Fix Released |
To post a comment you must log in.
On amd64 running the content hub hook is very rapid: x86_64- linux-gnu/ content- hub/content- hub-peer- hook :enumerate_ known_peers( const std::function< void(const com::ubuntu: :content: :Peer&) >&) :enumerate_ known_peers( const std::function< void(const com::ubuntu: :content: :Peer&) >&) "music" :enumerate_ known_peers( const std::function< void(const com::ubuntu: :content: :Peer&) >&) "pictures" :enumerate_ known_peers( const std::function< void(const com::ubuntu: :content: :Peer&) >&) "documents"
$ /usr/lib/
int main(int, char**)
void Hook::run()
Failed to install peer ""
virtual void Registry:
virtual void Registry:
virtual void Registry:
virtual void Registry:
On armhf/emulator it's much much slower...