仓库 | 第 1 次耗时 (ms) | 第 2 次耗时 (ms) | 第 3 次耗时 (ms) | 平均耗时 (ms) |
---|---|---|---|---|
cubk1/EventManager | 42 | 5 | 6 | 17.67 |
DarkMagician6/eventapi | 7 | 3 | 2 | 4.00 |
nevalackin/homo-bus | 11 | 1 | 1 | 4.33 |
therealbush/eventbus | 15 | 1 | 1 | 5.67 |
Tigermouthbear/SimpleEvents | 4 | 2 | 0 | 2.00 |
greenrobot/EventBus | 12 | 5 | 6 | 7.67 |
- 每个框架执行三轮 每轮执行相同的事件发布逻辑共 10000 次
- 平均耗时为三轮结果的算术平均值 保留两位小数
- 测试环境(Win10, 32G 内存, i5 12400)