Bug 87466 - [Forms] Rendering of select/optgroup/option is slow
Summary: [Forms] Rendering of select/optgroup/option is slow
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://mdupont.alwaysdata.net/chrome_...
Keywords:
Depends on: 87467
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-25 00:05 PDT by yosin
Modified: 2012-05-27 21:18 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yosin 2012-05-25 00:05:25 PDT
Imported from http://crbug.com/129334

When select elements contain lot of optgroup and option, rendering of these are slow.
Comment 1 Alexey Proskuryakov 2012-05-25 10:44:04 PDT
Duplicate of bug 43808?
Comment 2 yosin 2012-05-27 21:18:54 PDT
(In reply to comment #1)
> Duplicate of bug 43808?

Thanks Alexey for information. I marked that bug as resolved.

This issue is happened when we use optgroup and option elements.

Here is some performance test results:
(appendChild 3000 options)

1. optgroup and one option, e.g. <optgorup label="1"><option value="1">one</option></optgroup>
  124ms

2 optgroup and ten option, e.g. <optgorup label="1"><option>... 10 options
  410ms ** too slow **

3.optgroup only
  35ms

4. option
  139ms