Skip to content

Commit

Permalink
这不得炫耀一下(战术后仰) 7.85907859%的提升呢
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjackyuanjie committed Dec 8, 2024
1 parent 62f4836 commit e40cf2b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
42 changes: 42 additions & 0 deletions benchmarks/045-050.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 0.4.5 - 0.5.0 的性能提升

强单测试

```text
<αβ>-02pjt42k@ReturnVoid
飞雪PSODKKXWP@涵虚
虚境-4xtrv36e@涵虚
<βε>-lxecl3g6@ReturnVoid
十六夜咲夜 imIuZYJk@Squall
爱丽丝·玛格特洛依德 G26FRAL0@Squall
光YLqKf5rv9EU9lnc@Squall
魂魄妖梦 AKG1OENX@Squall
郭娱戈宏帅@otto
大家好啊,我是蟆猎命说@otto
\Empire\-692175165208@\XIV\-14
Momomomo #YAORzaY@Arcadia
Momo #L9GHU8F@Arcadia
CtC7gL9JNpvNpOl@新纪元
② vYtp0F-@新纪元
肪袍首阱丹@Hell
rkYDjfxB@coat
vRuH:z@耗子尾汁
史莱德 #XPMTVPKY@暗黑突击
`I!.lf@紫微垣
涵虚不等式 PFVKEUPBU@TigerStar
癌细胞 Qgu35DIL[Q8us/3@TigerStar
wt(zEe]T@TigerStar
0000000I0bNQDRS@aaa
00000000MOYffOK@aaa
0000001p5tE2pMs@aaa
0000000hjMO5Zv5@aaa
Rick QUJTCGUVGHIJ@nan
U>7D3Ol7uWKIfTC@XJ联队
Lumos dtGoP!RM@Shabby_fish
Neverland RjRNrl4YV@candle
天依 'i[8S`Aw@LuoTianyi
```

设备: 5800x

提升: 7.85907859% ( 369s -> 340s )
4 changes: 4 additions & 0 deletions branch/latest/md5.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* 更新日志记录(确信)
* 0.5.0: 添加了 external_gAd, 用于外部传入 gAd
* 毕竟 gAd 这东西感觉还不如直接存一个巨大的列表
* 以及, 喜报, 0.4.5 到 0.5.0 (的最后几个 commit ) 实现了 7.85907859% 的优化
* 369s -> 340s
* 测试样例: bencharms/045-050.md
*/
const _version_ = "0.5.0";

Expand Down Expand Up @@ -946,6 +949,7 @@ var H = {
},
/**
* 排序 a, 使用内置 sort 和 手动写的 compare_bO 结合
* 烫知识, 单独就这一个函数的优化就从 85s 优化到了 80s (高达 5.88235294% 的优化)
* @param {Array} a
* @param {number} b
* @param {number} c
Expand Down

0 comments on commit e40cf2b

Please sign in to comment.