2010-07-27 第一次性能测试:

 

不使用缓存,每个操作都直接操作数据库。

 

------ Test started: Assembly: Pixysoft.Framework.Noebe.Orm.dll ------


aop

Time Elapsed: 21,854ms

CPU time: 3,281,250,000ns

Gen 0: 18

Gen 1: 1

Gen 2: 0



1 passed, 0 failed, 0 skipped, took 22.92 seconds (Ad hoc).



------ Test started: Assembly: Pixysoft.Framework.Noebe.Orm.dll ------


proxy

Time Elapsed: 21,065ms

CPU time: 2,843,750,000ns

Gen 0: 17

Gen 1: 2

Gen 2: 0



1 passed, 0 failed, 0 skipped, took 22.14 seconds (Ad hoc).


对比结果看,性能相差不大,主要是数据库的操作很缓慢。 

  

---------------------------------------------------------------------------

 

------ Test started: Assembly: Pixysoft.Framework.Noebe.Orm.dll ------


aop-buffer

Time Elapsed: 14,541ms

CPU time: 2,015,625,000ns

Gen 0: 11

Gen 1: 3

Gen 2: 0



1 passed, 0 failed, 0 skipped, took 15.61 seconds (Ad hoc).


------ Test started: Assembly: Pixysoft.Framework.Noebe.Orm.dll ------


proxy-buffer

Time Elapsed: 5,048ms

CPU time: 984,375,000ns

Gen 0: 3

Gen 1: 1

Gen 2: 0



1 passed, 0 failed, 0 skipped, took 6.36 seconds (Ad hoc).


这个比较可以看出在没有数据库的影响的时候,真实的性能对比差异。 


 

相关文章:

  • 2022-01-09
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-07-25
猜你喜欢
  • 2021-07-30
  • 2021-12-23
  • 2021-10-25
  • 2021-09-17
相关资源
相似解决方案