一种在应用程序的时间敏感型部分避免类加载延迟通用技术是,在应用程序启动或初始化期间预先加载类。
A generic technique to avoid class-loading delays during the time-sensitive parts of your application is to preload classes during application startup or initialization.
它涉及到加载一个初始ram磁盘(initrd),然后将控件传给一个名为init的程序,通常作为sysvinit包的一部分安装的一个程序。
It involves loading an initial ram disk (initrd) and then passing control to a program called init, a program that is usually installed as part of the sysvinit package.
应用程序的初始加载时间将明显少于部署非构建Dojo应用程序时所用的时间。
The initial load time for the application is reduced to fractions of what would be observed if you deployed with an un-built Dojo application.
应用推荐