Homec4science

Cache terminal width

Authored by Joshua Spence <josh@joshuaspence.com> on Jul 2 2015, 00:04.

Description

Cache terminal width

Summary: This maybe fixes T8576. Whilst running ./bin/search index --all I noticed that I ended up with 159,596 temporary directory which I believe are due to phutil_console_get_terminal_width() running too often.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T8576

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

Details

Committed
Joshua Spence <josh@joshuaspence.com>Jul 2 2015, 00:08
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUea6830cc8019: show key name when map value is of wrong type
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHU83f09f6c5a03: Cache terminal width (authored by Joshua Spence <josh@joshuaspence.com>).Jul 2 2015, 00:08