2

HTML5ワーカースレッドで遊んでいて、利用可能なコアに応じていくつかの作業を分割したいと思います。JavaScriptからマシン上のコアの数を取得する方法はありますか?

4

1 に答える 1

1

https://github.com/oftn/core-estimatorでコア数を見積もることができ ます。

デモ: http://eligrey.com/blog/post/cpu-core-estimation-with-javascript

于 2013-06-07T09:48:45.497 に答える