问答详情
源自:3-6 排序结果以及优化

Windows 10 CPU 占用问题?

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

提问者:慕工程3002471 2019-07-14 04:46

个回答

  • 慕工程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