Huuuge speedup in the Hydra evaluator
[?]
Apr 4, 2012, 3:29 PM
QS4OX6Z7OC46ZBRSEGQQAVKIMXRHDDRXS32EJI6DGN37AXH23K3QCDependencies
- [2]
RXVJFQ5AEvaluator cleanups - [3]
3XTHEUMP* Implemented the clone feature. - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 840
my ($prevBuild) = $prevEval->builds->search({ job => $job->name, outPath => $outPath }, { rows => 1, columns => ['id'] });my ($prevBuild) = $prevEval->builds->search(# The "project" and "jobset" constraints are# semantically unnecessary (because they're implied by# the eval), but they give a factor 1000 speedup on# the Nixpkgs jobset with PostgreSQL.{ project => $project->name, jobset => $jobset->name, job => $job->name, outPath => $outPath },{ rows => 1, columns => ['id'] });