On 04/06/2015 07:02 AM, Brant Knudson wrote:
On Sun, Apr 5, 2015 at 5:41 PM, Boris Pavlovic <[email protected] <mailto:[email protected]>> wrote:Brant, I run profimp with and without patch https://review.openstack.org/#/c/164066/: And it really works well: before 170ms: http://boris-42.github.io/keystone/before.html after 76ms: http://boris-42.github.io/keystone/after.html Looks like now the issue is that keystoneclient imports pbr.version so that it can get pbr to generate the __version__ value. Maybe pbr could be more efficient about the work it does on import, or we could figure out a different / lazy way to generate the version string. http://git.openstack.org/cgit/openstack/python-keystoneclient/tree/keystoneclient/__init__.py#n35 How far do we need to go with this?
Not far, IMHO. 100ms difference in startup time isn't something we should spend much time optimizing. There's bigger fish to fry.
Best, -jay p.s. Boris, please don't hate me :) __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
