zoukankan      html  css  js  c++  java
  • caffeineMark Info

    官方资料:

    http://www.benchmarkhq.ru/cm30/info.html

    CaffeineMark这款测试软件,用来测试不同软硬件平台上java程序的执行速度。

    计算方法为每秒所执行java指令数。

    由于java vendors提高了他们的JVM技术性能,CaffeineMark3.0所测试结果与CaffeineMark2.5不具可比性。

    测试用例:

    CM3.0采用了9个用例,所有用例都在相同时间来执行,度量结果。结果数值=所执行用例的次数/执行所有用例的时间

    Sieve
    The classic sieve of eratosthenes finds prime numbers.

    Loop
    The loop test uses sorting and sequence generation as to measure compiler optimization of loops.

    Logic
    Tests the speed with which the virtual machine executes decision-making instructions.

    Method
    The Method test executes recursive function calls to see how well the VM handles method calls.

    Float
    Simulates a 3D rotation of objects around a point.

    Graphics
    Draws random rectangles and lines.

    Image
    Draws a sequence of three graphics repeatedly.

    Dialog
    Writes a set of values into labels and editboxes on a form.

    Overall

    The overall CaffeineMark score is the geometric mean of the individual scores, i.e., it is the 9th root of the product of all the scores.

    执行完所有用例,大概需要45s。

    多应用于手机平台测试,Android.

  • 相关阅读:
    369. Plus One Linked List
    147. Insertion Sort List
    817. Linked List Components
    61. Rotate List
    Object 类
    多态
    重写方法
    Protected 修饰符
    继承
    数组
  • 原文地址:https://www.cnblogs.com/leaves/p/1950780.html
Copyright © 2011-2022 走看看