Examples of startRun()


Examples of org.apache.lucene.benchmark.stats.TestRunData.startRun()

        System.out.println("Start Time: " + new Date());
        int runCount = options.getRunCount();
        for (int i = 0; i < runCount; i++)
        {
            TestRunData trd = new TestRunData();
            trd.startRun();
            trd.setId(String.valueOf(i));
            IndexWriter iw = new IndexWriter(params.getDirectory(), params.getAnalyzer(), true);
            iw.setMergeFactor(params.getMergeFactor());
            iw.setMaxBufferedDocs(params.getMaxBufferedDocs());
View Full Code Here

Examples of org.apache.lucene.benchmark.stats.TestRunData.startRun()

        System.out.println("Start Time: " + new Date());
        int runCount = options.getRunCount();
        for (int i = 0; i < runCount; i++)
        {
            TestRunData trd = new TestRunData();
            trd.startRun();
            trd.setId(String.valueOf(i));
            IndexWriter iw = new IndexWriter(params.getDirectory(), params.getAnalyzer(), true);
            iw.setMergeFactor(params.getMergeFactor());
            iw.setMaxBufferedDocs(params.getMaxBufferedDocs());
View Full Code Here

Examples of org.apache.lucene.benchmark.stats.TestRunData.startRun()

        System.out.println("Start Time: " + new Date());
        int runCount = options.getRunCount();
        for (int i = 0; i < runCount; i++)
        {
            TestRunData trd = new TestRunData();
            trd.startRun();
            trd.setId(String.valueOf(i));
            IndexWriter iw = new IndexWriter(params.getDirectory(), params.getAnalyzer(), true, IndexWriter.MaxFieldLength.LIMITED);
            iw.setMergeFactor(params.getMergeFactor());
            iw.setMaxBufferedDocs(params.getMaxBufferedDocs());
View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

  }
  PerformanceStats performanceStats = CompletionEngine.PERF
    ? PerformanceStats.getStats(JavaModelManager.COMPLETION_PERF, this)
    : null;
  if(performanceStats != null) {
    performanceStats.startRun(new String(cu.getFileName()) + " at " + position); //$NON-NLS-1$
  }
  IBuffer buffer = getBuffer();
  if (buffer == null) {
    return;
  }
View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

protected IJavaElement[] codeSelect(org.aspectj.org.eclipse.jdt.internal.compiler.env.ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner) throws JavaModelException {
  PerformanceStats performanceStats = SelectionEngine.PERF
    ? PerformanceStats.getStats(JavaModelManager.SELECTION_PERF, this)
    : null;
  if(performanceStats != null) {
    performanceStats.startRun(new String(cu.getFileName()) + " at [" + offset + "," + length + "]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
  }
 
  JavaProject project = (JavaProject)getJavaProject();
  SearchableEnvironment environment = project.newSearchableNameEnvironment(owner);
 
View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

   */
  private PerformanceStats startMeter(Object context, ICompletionProposalComputer computer) {
    final PerformanceStats stats;
    if (MEASURE_PERFORMANCE) {
      stats= PerformanceStats.getStats(PERFORMANCE_EVENT, computer);
      stats.startRun(context.toString());
    } else {
      stats= null;
    }

    if (fIsReportingDelay) {
View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

  }
  PerformanceStats performanceStats = CompletionEngine.PERF
    ? PerformanceStats.getStats(JavaModelManager.COMPLETION_PERF, this)
    : null;
  if(performanceStats != null) {
    performanceStats.startRun(new String(cu.getFileName()) + " at " + position); //$NON-NLS-1$
  }
  IBuffer buffer = getBuffer();
  if (buffer == null) {
    return;
  }
View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

protected IJavaElement[] codeSelect(org.eclipse.jdt.internal.compiler.env.ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner) throws JavaModelException {
  PerformanceStats performanceStats = SelectionEngine.PERF
    ? PerformanceStats.getStats(JavaModelManager.SELECTION_PERF, this)
    : null;
  if(performanceStats != null) {
    performanceStats.startRun(new String(cu.getFileName()) + " at [" + offset + "," + length + "]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
  }

  JavaProject project = (JavaProject)getJavaProject();
  SearchableEnvironment environment = project.newSearchableNameEnvironment(owner);
View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

        }

        if (Log.logPerformance) {
            PerformanceStats stats = PerformanceStats.getStats(
                IIntroConstants.PERF_UI_ZOOM, IIntroConstants.INTRO);
            stats.startRun();
        }

    }

View Full Code Here

Examples of org.eclipse.core.runtime.PerformanceStats.startRun()

  }
  PerformanceStats performanceStats = CompletionEngine.PERF
    ? PerformanceStats.getStats(JavaModelManager.COMPLETION_PERF, this)
    : null;
  if(performanceStats != null) {
    performanceStats.startRun(new String(cu.getFileName()) + " at " + position); //$NON-NLS-1$
  }
  IBuffer buffer = getBuffer();
  if (buffer == null) {
    return;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.