Spring2.0.4ã§ããã©ã¼ãã³ã¹ãå¤§å¹ åä¸
SpringFrameworkã®Beanã®ã¤ã³ã¹ã¿ã³ã¹åå¾ãæ大12åéããªã£ãããã§ãã
2.0.4リリースアナウンスããå¼ç¨
Regarding the performance improvements, repeated creation of Spring bean instances is up to 12 times faster in this release than previous versions of Spring 2.0. AspectJ-based weaving performance has also increased by a significant factor.
2.0.3ã¨2.0.4ã®ãã³ããã¼ã¯æ¯è¼
æ¢ã«ãã³ããã¼ã¯ã®ã¨ã³ããªã§ãéããªã£ãã¨æ¸ãã¾ãããããã£ãããªã®ã§2.0.3ã¨æ¯è¼ãã¦ã¿ã¾ãããã³ã¼ãã¯Guiceãã³ããã¼ã¯ãæµç¨ãã¦ã¾ããæ°å¤ã¯3åå®è¡ããå¹³åå¤ãã¨ãã¾ããã
ãã¼ã¸ã§ã³ | AOPç¡ãã¤ã³ã¹ã¿ã³ã¹åå¾ | AOPæãã¤ã³ã¹ã¿ã³ã¹åå¾ |
---|---|---|
2.0.3 | 4,650 creations/s | 2,037 creations/s |
2.0.4 | 26,140 creations/s | 4,360 creations/s |
æ¯ | 5.62 | 2.14 |
ãã®ã±ã¼ã¹ã§ã¯12åã¾ã§ã¯åºã¾ããã§ããããããªãããã©ã¼ãã³ã¹ãåä¸ãã¦ããäºãåããã¾ããAOPã¯AspectJã§ã¯ãªãæ§æ¥ã®(?)Proxyãªã®ã§ãAspectJã«ãããAOPæãã®æ¹ãããå·®ã大ãããªãã¨æããã¾ãã
ã¡ãªã¿ã«çªç¶Springããã¥ã¼ãã³ã°ããçç±ã¨ãã¦å
æ¥ãä¼ãããid:koichikããããGuiceãåºã¦ããããã ãããâªãã¨ä»°ã£ã¦ã¾ããããã¿ã¤ãã³ã°ã¨ãã確ãã«ãããªã®ã§ãããããããã¾ã§ã¯ããã©ã¼ãã³ã¹ã®äºãè¨ããã¦ããäºå®ä¸åé¡ã«ã¯ãªããªãããã®é¨åã®ããã©ã¼ãã³ã¹ã§å°ã£ãã¨ããäºä¾ã¯èããäºãç¡ããã¨ããã¹ã¿ã³ã¹ã§ããã®ã§ã
ã¨ããã (JW)ï¼éããªã£ãã®ã¯ããã¾ã§Beanã®ãããã¿ã¤ããªã¤ã³ã¹ã¿ã³ã¹åå¾å¦çï¼ã¨AspectJã®weavingï¼ãªã®ã§ï¼ä¸è¬çãªã¢ããªã±ã¼ã·ã§ã³ã«ä¸ããå½±é¿ã¯ããã»ã©ã§ã¯ãªãã®ã§ã¯ã¨æãã¾ãï¼