Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@keating
Last activeDecember 10, 2015 19:38
    • Star(0)You must be signed in to star a gist
    • Fork(0)You must be signed in to fork a gist
    Save keating/4482279 to your computer and use it in GitHub Desktop.
    jruby 性能测试
    ===development/webrick================================================================
    内存:
    启动(点击首页) 查询提单 打开两个浏览器轮流查询 2分钟不操作
    CRuby 1.8% 2.5% 3.5% 3.5%
    JRuby 10.9% 11.0% 11.9% 11.9%
    CPU在查询提单时最大占用率(大约)
    CRuby 30%
    JRuby 40%
    JRuby物流平台首页响应速度
    0.050000 0.030000 0.080000 ( 0.534139)
    0.000000 0.000000 0.000000 ( 0.100477)
    0.010000 0.000000 0.010000 ( 0.097704)
    0.000000 0.000000 0.000000 ( 0.087144)
    0.010000 0.010000 0.020000 ( 0.080729)
    0.000000 0.000000 0.000000 ( 0.078247)
    0.010000 0.000000 0.010000 ( 0.065936)
    0.000000 0.000000 0.000000 ( 0.074247)
    0.010000 0.000000 0.010000 ( 0.149723)
    0.010000 0.000000 0.010000 ( 0.089646)
    CRuby物流平台首页响应速度
    0.060000 0.010000 0.070000 ( 0.134018)
    0.010000 0.000000 0.010000 ( 0.059840)
    0.010000 0.000000 0.010000 ( 0.068152)
    0.010000 0.000000 0.010000 ( 0.112804)
    0.010000 0.000000 0.010000 ( 0.106225)
    0.010000 0.000000 0.010000 ( 0.103471)
    0.010000 0.000000 0.010000 ( 0.109205)
    0.010000 0.000000 0.010000 ( 0.071270)
    0.010000 0.000000 0.010000 ( 0.050019)
    0.020000 0.000000 0.020000 ( 0.052822)
    ====production/webrick/threadsafe!======================================================
    CRuby
    0.150000 0.010000 0.160000 ( 0.167369)
    0.150000 0.010000 0.160000 ( 0.187900)
    0.160000 0.010000 0.170000 ( 0.191536)
    0.160000 0.010000 0.170000 ( 0.243087)
    0.160000 0.010000 0.170000 ( 0.245004)
    0.160000 0.010000 0.170000 ( 0.555423)
    0.160000 0.010000 0.170000 ( 0.594243)
    0.160000 0.020000 0.180000 ( 0.624294)
    0.160000 0.020000 0.180000 ( 0.626037)
    0.160000 0.020000 0.180000 ( 0.625072)
    0.160000 0.020000 0.180000 ( 0.702962)
    0.170000 0.020000 0.190000 ( 0.710241)
    0.170000 0.020000 0.190000 ( 0.980846)
    0.170000 0.020000 0.190000 ( 0.982452)
    0.180000 0.020000 0.200000 ( 3.225791)-------注意这里
    0.180000 0.020000 0.200000 ( 3.235187)-------注意这里
    0.180000 0.020000 0.200000 ( 3.238973)-------注意这里
    0.180000 0.020000 0.200000 ( 3.239220)-------注意这里
    0.180000 0.020000 0.200000 ( 3.258135)-------注意这里
    0.180000 0.020000 0.200000 ( 3.339578)-------注意这里
    20个线程出现过timeout,30个线程必然出现
    JRuby
    0.140000 0.030000 0.170000 ( 0.230348)
    0.140000 0.030000 0.170000 ( 0.231745)
    0.130000 0.030000 0.160000 ( 0.247798)
    0.140000 0.030000 0.170000 ( 0.330812)
    0.140000 0.030000 0.170000 ( 0.393351)
    0.130000 0.030000 0.160000 ( 0.426064)
    0.130000 0.030000 0.160000 ( 0.450919)
    0.130000 0.030000 0.160000 ( 0.525109)
    0.130000 0.040000 0.170000 ( 0.526721)
    0.140000 0.040000 0.180000 ( 0.556672)
    0.140000 0.040000 0.180000 ( 0.572166)
    0.140000 0.040000 0.180000 ( 0.621143)
    0.160000 0.040000 0.200000 ( 0.685191)
    0.150000 0.040000 0.190000 ( 0.715893)
    0.160000 0.040000 0.200000 ( 0.732298)
    0.150000 0.040000 0.190000 ( 0.776384)
    0.160000 0.040000 0.200000 ( 0.845958)
    0.150000 0.040000 0.190000 ( 0.867483)
    0.150000 0.040000 0.190000 ( 0.876866)
    0.150000 0.040000 0.190000 ( 0.888036)
    20个线程出现过timeout,30个线程经常timeout
    Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

    [8]ページ先頭

    ©2009-2025 Movatter.jp