stevedlawrence commented on a change in pull request #129: Cross Testing 
Capability with IBM DFDL
URL: https://github.com/apache/incubator-daffodil/pull/129#discussion_r229037744
 
 

 ##########
 File path: 
daffodil-tdml/src/main/scala/org/apache/daffodil/tdml/TDMLRunner.scala
 ##########
 @@ -323,20 +342,20 @@ class DFDLTestSuite private[tdml] (
     }
   }
 
-  def runPerfTest(testName: String, schema: Option[Node] = None) {
-    var bytesProcessed: Long = 0
-    Tak.calibrate
-    val ns = Timer.getTimeNS(testName, {
-      val nBytes = runOneTestWithDataVolumes(testName, schema)
-      bytesProcessed = nBytes
-    })
-    // val takeonsThisRun = ns / Tak.takeons
-    val bpns = ((bytesProcessed * 1.0) / ns)
-    val kbps = bpns * 1000000
-    val callsPerByte = 1 / (Tak.takeons * bpns)
-    println("\nKB/sec = " + kbps)
-    println("tak call equivalents per byte (takeons/byte) =  " + callsPerByte)
-  }
+  //  def runPerfTest(testName: String, schema: Option[Node] = None) {
 
 Review comment:
   I don't think this is used anymore. The daffodil performance cli is used for 
most performance tests that I'm aware of. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to