I guessed that the just-in-time compilation probably had some startup overhead that swamped the running time.
我猜测大概是即时编译所需的启动开销拖累了运行时间。
Startup time overhead to populate a new cache (which I discuss later in this article) is not significant, as each class simply needs to be relocated into the cache as it is defined.
填充新缓存导致的启动时间开销(在本文后面讨论)并不显著,因为每个类只需在定义时重新定位到缓存中。
To make better use of CPU time, we can create a pool of NHRTs to process the data. By maintaining a pool of running threads, we have no thread startup and shutdown overhead when running.
为更好地利用CPU时间,我们可以创建一个nhrt池来处理数据,通过维护一个运行中线程的池,在运行的时候就不存在任何线程启动和停止开销了。
应用推荐