天天看点

性能测试1 Test 程序

@[TOC]# 0 测试指标

总时间 = Class transformation time(类转换时间 一次性) + Test程序运行时间(同一段代码执行一次 * 执行次数)

1 Test 程序

10^3 循环

性能测试1 Test 程序
性能测试1 Test 程序

avg:0.5s

性能测试1 Test 程序

0.3s

5000

Class transformation time: 0.017512487s for 420 classes or 4.169639761904762E-5s per class

性能测试1 Test 程序

无 1.2s

10^4 循环

性能测试1 Test 程序

Class transformation time: 0.014205178s for 422 classes or 3.366155924170616E-5s per class

性能测试1 Test 程序

1.3s

50000

Class transformation time: 0.014437257s for 422 classes or 3.421150947867298E-5s per class

10^5

性能测试1 Test 程序

Class transformation time: 0.01865394s for 418 classes or 4.462665071770335E-5s per class

10.7s

性能测试1 Test 程序

7.2s

5 10^5

Class transformation time: 0.013203154s for 422 classes or 3.128709478672986E-5s per class

10^6

runner

性能测试1 Test 程序

Class transformation time: 0.038622789s for 433 classes or 8.919812702078522E-5s per class

54.2s

裸跑

性能测试1 Test 程序

44.4s

5 10^6

Class transformation time: 0.02499691s for 433 classes or 5.772958429561201E-5s per class

10^7

5

Class transformation time: 0.014596091s for 433 classes or 3.370921709006929E-5s per class

比对图

性能测试1 Test 程序

继续阅读