| hoo added a comment. |
I did another test with the unmodified class (on mwdebug1002):
43.58% 727005.407 815558 - Wikibase\DataModel\Deserializers\StatementDeserializer::deserialize (total time 1668083.546ms)
With the optimized script (same command line, on mwdebug1001):
41.61% 692661.326 815574 - Wikibase\DataModel\Deserializers\StatementDeserializer::deserialize (total time 1664704.396ms)
Both scripts ran at (about) the same time and have a very close total run time (especially if you count out the changes in deserialize).
Considering these numbers, we get a speedup of about 5% with the modified version.
TASK DETAIL
EMAIL PREFERENCES
To: hoo
Cc: Smalyshev, JeroenDeDauw, daniel, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
Cc: Smalyshev, JeroenDeDauw, daniel, Aklapper, hoo, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
