Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2146


Ignore:
Timestamp:
07/07/09 12:52:18 (15 years ago)
Author:
gkronber
Message:

Removed obsolete performance measurement code. #691 (CEDMA result views should allow filtering of displayed results)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Core/3.3/Results.cs

    r2139 r2146  
    9090    }
    9191
    92     long nStatements;
    93     DateTime start, stop;
    9492    private IEnumerable<ResultsEntry> SelectRows() {
    95       start = DateTime.Now;
    96       nStatements = 0;
    9793      int page = 0;
    9894      int resultsReturned = 0;
     
    115111        foreach (var targetVariableBindings in allModels) {
    116112          resultsReturned = targetVariableBindings.Count();
    117           nStatements += resultsReturned;
    118113          int nModels = Math.Max(10, resultsReturned * 10 / 100);
    119114          nModels = Math.Min(nModels, resultsReturned);
     
    128123        page++;
    129124      } while (resultsReturned == PAGE_SIZE);
    130       stop = DateTime.Now;
    131125      FireChanged();
    132126      cached = true;
     
    138132        "<" + modelUri + "> ?Attribute ?Value .",
    139133        0, PAGE_SIZE);
    140       nStatements += modelBindings.Count();
    141134      foreach (var binding in modelBindings) {
    142135        if (binding.Get("Value") is Literal) {
     
    166159           0, PAGE_SIZE);
    167160      Dictionary<object, ResultsEntry> inputVariableAttributes = new Dictionary<object, ResultsEntry>();
    168       nStatements += inputVariableNameBindings.Count();
    169       nStatements += qualityImpactBindings.Count();
    170       nStatements += evaluationImpactBindings.Count();
    171161
    172162      foreach (var inputVariableNameBinding in inputVariableNameBindings) {
Note: See TracChangeset for help on using the changeset viewer.