JSON generation on new flakiness dashboard is still too slow
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Nov 2013 04:05:50 +0000 (04:05 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Nov 2013 04:05:50 +0000 (04:05 +0000)
commit0f9190d25ec6b08d60a8fb6aad33813f87afa2d0
treeb33cbf3f9ef649bb015791ebd76ef36eb5c4130f
parent41daad11afc65070e4cfc18a54302db5617ae9cf
JSON generation on new flakiness dashboard is still too slow
https://bugs.webkit.org/show_bug.cgi?id=123776

Reviewed by Mark Rowe.

* init-database.sql: Added a constraint that result is unique for each (build, test) pair.

* public/include/test-results.php:
(ResultsJSONGenerator::generate): Don't sort results by latest_revision_time since that's done
in the client side anyway.
(update_flakiness_for_build): Don't update is_flaky flag if it's already set to the right value.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/test-results/ChangeLog
Websites/test-results/init-database.sql
Websites/test-results/public/include/test-results.php