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.

  • 相关阅读:
    Mac-安装Git以及Git的配置
    Mac 安装Maven,并设置环境变量
    Mac Tab自动补全键
    Eclipse 代码快捷键模板(一)
    网易博客迁移(2011-05-27)
    前端JS插件整理
    Ajax请求二进制流并在页面展示
    IDE中使用System.getProperty()获取一些属性
    Spring Boot:快速入门(二)
    c 语言 指针 与地址
  • 原文地址:https://www.cnblogs.com/leaves/p/1950780.html
Copyright © 2011-2022 走看看