Homec4science

Provide a local cache for PhabricatorEnv

Authored by epriestley <git@epriestley.com> on Apr 1 2013, 21:05.

Description

Provide a local cache for PhabricatorEnv

Summary: We hit some env config fairly often (~200 calls on the home page) and it's not especially cheap right now. This saves about 10ms on home, which is ~8% of the page weight on my machine.

Test Plan: Clicked around, everything seemed fine. Unit tests.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D5512

Details

Committed
epriestley <git@epriestley.com>Apr 1 2013, 21:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPH80e9fb72bb54: Add dust to homepage
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHcd07182e9cfe: Provide a local cache for PhabricatorEnv (authored by epriestley <git@epriestley.com>).Apr 1 2013, 21:05