193
edits
Ayoshihara (talk | contribs) |
Ayoshihara (talk | contribs) |
||
Line 186: | Line 186: | ||
LoadTest | LoadTest | ||
* 20 @font-face rules per page is pretty scalable. When you scroll the page or do some action during the downloading and rendering of a font, rendering will take a lot more time. So if more than 50 @font-face rules are used, it would take too much time for a user to wait (nearly 10 seconds, but not measured) | * 20 @font-face rules per page is pretty scalable. When you scroll the page or do some action during the downloading and rendering of a font, rendering will take a lot more time. So if more than 50 @font-face rules are used, it would take too much time for a user to wait (nearly 10 seconds, but not measured) | ||
* It does not crash even if a page had more than | * It does not crash even if a page had more than 1000 @font-face rules, but it would take more than 5 minutes until the text is rendered, which is not endurable for general use. | ||
** It seems that the time it takes is O(n^2) or something | ** The more @font-face rules you have in a page, the more time is needed to its rendering. It seems that the time it takes is O(n^2) or something | ||
= Planned (but not executed) Tests = | = Planned (but not executed) Tests = |
edits