Java 分配率在JMH中是什么意思

Java 分配率在JMH中是什么意思,java,garbage-collection,microbenchmark,jmh,Java,Garbage Collection,Microbenchmark,Jmh,我试图测量运行基准测试时消耗的内存。我在互联网上发现,我可以使用GCprofiler来衡量这一点。我试过了,但我不明白答案,也看不到消耗的内存量。有人能解释结果吗?谢谢 MyBenchmark.testMethod_width_2_attribute_text ss 60 32.345 ± 1.759 ms/op MyBenchmark.testMethod_width_2_attribut

我试图测量运行基准测试时消耗的内存。我在互联网上发现,我可以使用
GC
profiler来衡量这一点。我试过了,但我不明白答案,也看不到消耗的内存量。有人能解释结果吗?谢谢

MyBenchmark.testMethod_width_2_attribute_text                                     ss   60        32.345 ±       1.759   ms/op
MyBenchmark.testMethod_width_2_attribute_text:·gc.alloc.rate                      ss   60        26.904 ±       0.217  MB/sec
MyBenchmark.testMethod_width_2_attribute_text:·gc.alloc.rate.norm                 ss   60  14999630.400 ±      12.578    B/op
MyBenchmark.testMethod_width_2_attribute_text:·gc.churn.PS_Eden_Space             ss   60        28.282 ±      15.342  MB/sec
MyBenchmark.testMethod_width_2_attribute_text:·gc.churn.PS_Eden_Space.norm        ss   60  15903402.667 ± 8631257.013    B/op
MyBenchmark.testMethod_width_2_attribute_text:·gc.churn.PS_Survivor_Space         ss   60         0.654 ±       0.754  MB/sec
MyBenchmark.testMethod_width_2_attribute_text:·gc.churn.PS_Survivor_Space.norm    ss   60    368914.667 ±  425374.152    B/op
MyBenchmark.testMethod_width_2_attribute_text:·gc.count                           ss   60        26.000                counts
MyBenchmark.testMethod_width_2_attribute_text:·gc.time                            ss   60       105.000                    ms

在封面下,jmh使用
ThreadMXBean
,因此这看起来像一个报告,说明每个操作分配了多少字节,以及每个GC空间中有多少
MB/sec
(如
Eden/Survivor


.norm
代表规范化。

一些问题:1。PS在空间中代表什么?2.什么是总计数?调用垃圾回收器的次数?3.什么是总时?垃圾收集器在其所有调用中所花费的总时间?