Windows 10 CPU 占用问题?

来源:3-6 排序结果以及优化

慕工程3002471

2019-07-14 04:46

Read done:   10.4986348s
Read done:   10.5346236s
Read done:   10.8085367s
Read done:   11.4263397s
InMemSort done:   17.4984047s
InMemSort done:   17.6013728s
InMemSort done:   17.8453116s
InMemSort done:   18.4581138s
Merge done:   2m27.5169605s
Merge done:   2m27.5169605s
Merge done:   2m27.5169605s

因为shell没有 top命令 所以用task manager,占用并没有想象的高啊?

https://img3.mukewang.com/5d2a43300001e02210020732.jpg

写回答 关注

1回答

  • 慕工程3002471
    2019-07-14 04:55:10

    加了buffer优化以后

    Read done:   5.3912809sRead done:   5.4942484sRead done:   5.5322359sRead done:   5.6811895sInMemSort done:   12.5876798sInMemSort done:   12.734652sInMemSort done:   12.7486486sInMemSort done:   12.8836605sMerge done:   37.1819834sMerge done:   37.1819834sMerge done:   37.1819834s


    慕工程300...

    Read done: 5.3912809s Read done: 5.4942484s Read done: 5.5322359s Read done: 5.6811895s InMemSort done: 12.5876798s InMemSort done: 12.734652s InMemSort done: 12.7486486s InMemSort done: 12.8836605s Merge done: 37.1819834s Merge done: 37.1819834s Merge done: 37.1819834s

    2019-07-14 04:55:40

    共 1 条回复 >

搭建并行处理管道,感受GO语言魅力

通过搭建并行数据处理管道,展示go语言在并发编程方面的优势

19375 学习 · 78 问题

查看课程

相似问题