We should not drop existing statistics if we come across a plist with an older statistics model version. Instead we should ingest what we have and continue from there. This will re-introduce logic that we had earlier but got lost in the refactoring. And to be fair, it wasn't really needed since all the older versions where internal and never shipped.
rdar://problem/37511406
Created attachment 333849 [details] Patch
Comment on attachment 333849 [details] Patch Looks good. r=me.
Comment on attachment 333849 [details] Patch Thanks, Brent!
Comment on attachment 333849 [details] Patch Clearing flags on attachment: 333849 Committed r228495: <https://trac.webkit.org/changeset/228495>
All reviewed patches have been landed. Closing bug.
This broke performance tests with unexpected logging: https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20%28Perf%29/builds/236/steps/perf-test/logs/stdio
This caused the Apple Sierra Release WK2 (Perf) testers to fail 183 perf tests consistently: https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20%28Perf%29/builds/231 https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20%28Perf%29/builds/231/steps/perf-test/logs/stdio
Reverted r228495 for reason: This caused mulitple perf tests to fail consistently. Committed r228514: <https://trac.webkit.org/changeset/228514>
(In reply to Alexey Proskuryakov from comment #7) > This broke performance tests with unexpected logging: > https://build.webkit.org/builders/ > Apple%20Sierra%20Release%20WK2%20%28Perf%29/builds/236/steps/perf-test/logs/ > stdio I have no idea why perf tests are ingesting statistics of model 1. Either this is some special statistics plist, a super old test, or a workaround for something else. One way to fix this is to avoid model 1.
Created attachment 333934 [details] Patch for landing
Removed logging for model version upgrades all together. It's mostly the early return for skipped ingestion that we need to log. The other one was intended to help with bug investigations since it would tell us if an upgrade had taken place.
Comment on attachment 333934 [details] Patch for landing Clearing flags on attachment: 333934 Committed r228532: <https://trac.webkit.org/changeset/228532>