patch-src_Benchmark_cpp 685 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_Benchmark_cpp,v 1.5 2014/12/09 20:29:03 sthen Exp $
  2. --- src/Benchmark.cpp.orig Mon Aug 31 11:45:38 2009
  3. +++ src/Benchmark.cpp Tue Dec 9 20:18:56 2014
  4. @@ -340,7 +340,7 @@ void BenchmarkDialog::OnRun( wxCommandEvent &event )
  5. t->SetRate(1);
  6. - srand(randSeed);
  7. + srand_deterministic(randSeed);
  8. int nChunks, chunkSize;
  9. //chunkSize = 7500 + (rand() % 1000);
  10. @@ -530,7 +530,7 @@ void BenchmarkDialog::OnRun( wxCommandEvent &event )
  11. delete fact;
  12. d->Deref();
  13. - Sequence::SetMaxDiskBlockSize(oldBlockSize);
  14. + Sequence::SetMaxDiskBlockSize(1048576);
  15. HoldPrint(false);
  16. gPrefs->Write(wxT("/GUI/EditClipCanMove"), editClipCanMove);