stable

Clone or download

Read-only

Improve create_test_env efficiency

Using mustache to parse a 40k lines XML file is not really efficient It takes ~10s to parse the file on a prod instance. The usage of a simple str_replace reduce to an hundred of ms. Index on the artifact_priority table improve artifact creation timing by 50% on platform with ~200k artifacts. Part of request #14048 Slowness at artifact creation Change-Id: I9f7931886817d40bdc85d7830a79422dcab461ac

Modified Files

Name
M plugins/create_test_env/include/CreateTestEnv/CreateTestProject.php +11 −6 Go to diff View file
M plugins/tracker/db/install.sql +2 −1 Go to diff View file
A plugins/tracker/db/mysql/updates/2019/201910161558_add_index_tracker_priority_rank.php +40 −0 Go to diff View file