rzo1 commented on PR #568:
URL: https://github.com/apache/opennlp/pull/568#issuecomment-1856512985

   Added GC Profiling output to JMH. Here it is
   
   # Old Code
   
   ```
   Benchmark                                                        Mode  Cnt   
      Score       Error   Units
   StringListBenchmark.newWithArrayConstructor                     thrpt   10   
      1,104 ±     0,311   ops/s
   StringListBenchmark.newWithArrayConstructor:gc.alloc.rate       thrpt   10   
     73,739 ±    14,797  MB/sec
   StringListBenchmark.newWithArrayConstructor:gc.alloc.rate.norm  thrpt   10  
92007982,187 ± 37715,232    B/op
   StringListBenchmark.newWithArrayConstructor:gc.count            thrpt   10   
     68,000              counts
   StringListBenchmark.newWithArrayConstructor:gc.time             thrpt   10   
   4396,000                  ms
   ```
   
   
   # New Code 
   
   ```
   Benchmark                                                        Mode  Cnt   
      Score     Error   Units
   StringListBenchmark.newWithArrayConstructor                     thrpt   10   
    471,103 ± 170,077   ops/s
   StringListBenchmark.newWithArrayConstructor:gc.alloc.rate       thrpt   10   
    443,527 ±  37,567  MB/sec
   StringListBenchmark.newWithArrayConstructor:gc.alloc.rate.norm  thrpt   10  
92000042,655 ±   0,953    B/op
   StringListBenchmark.newWithArrayConstructor:gc.count            thrpt   10   
    277,000            counts
   StringListBenchmark.newWithArrayConstructor:gc.time             thrpt   10   
  14432,000                ms
   ``


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@opennlp.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to