Comments (10)
Reported by gwt.team.bruce
on 2006-09-21 20:51:08
- Status changed:
FixedNotReleased
from gwt.
Optimized ListBox by
a) using appendChild rather than insertChild wherever possible.
b) updating code to set value on the original node rather than calling setValue,
removing a element retrieval step.
Reported by gwt.team.ecc
on 2006-09-22 11:21:48
- Labels added: Milestone-1_2_RC
from gwt.
Additional discussion:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/9b0763ea6c433cee/
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/d0224fd778400398/
Reported by gwt.team.vli
on 2006-09-26 18:32:06
from gwt.
Reported by gwt.team.jgw
on 2006-10-31 16:58:35
- Status changed:
Fixed
from gwt.
Reported by [email protected]
on 2008-05-02 02:32:22
from gwt.
I use GWT 1.6.1 on Windows.
The following code
List data = ... // has 3472 elements (list of city names)
ListBox lb = new ListBox();
for (int i = 0; i < data.size(); i++) {
lb.addItem(data.get(i).toString());
}
add(lb);
takes about 16 secs on a developer machine in hosted mode.
The performance in web mode is acceptable in FF3, but very slow on IE7.
Reported by [email protected]
on 2009-03-20 09:43:23
from gwt.
I meet the same problem, the performance in IE7 is not acceptable, followed is a
test code clip, when the pages is 20000, it will cost ~250 seconds.
This problem doesn’t exist in FF3.5
ListBox pageSelectorTemp = new ListBox();
for (int i = 0; i < pages; i++)
{
pageSelectorTemp.addItem("0");
}
Reported by chenchao8039
on 2009-12-21 03:37:11
from gwt.
I agree, IE7's performance is not acceptable, but GWT cannot do anything to help. Try
the attached file, it's pure JS, simpler than what GWT generates, but still it needs
~250 seconds to add 20000 items. The issue is IE7, not GWT. (actually, the issue is
IE,
whichever version: IE8 scores at 130 seconds on my machine, while Chrome 4 alerts after
175 *milli* seconds only)
Reported by t.broyer
on 2009-12-21 10:15:54
- _Attachment: [test2.html](https://storage.googleapis.com/google-code-attachments/google-web-toolkit/issue-49/comment-8/test2.html)_
from gwt.
Please take a look at my workaround, which may be used in specific cases:
http://jvminside.blogspot.com/2009/12/adding-many-items-to-gwt-listbox-faster.html
Reported by [email protected]
on 2009-12-22 23:48:12
from gwt.
Reported by [email protected]
on 2011-02-09 00:11:00
- Labels added: Milestone-1_2-RC
- Labels removed: Milestone-1_2_RC
from gwt.
Related Issues (20)
- Upgrade to HtmlUnit 3.9.0 or 4.1.0 HOT 2
- Upgrade icu4j to a version > 63.1
- Memory leak in stored exceptions HOT 8
- Issue with com.google.gwt.i18n.client.TimeZone in GWT 2.11 for Africa/Cairo Time Zone HOT 4
- Add Java 9 BigInteger methods sqrt and sqrtAndRemainder
- GWT from 2.9 to 2.11 Migration Issue Could not find com.google.gwt:gwt-codeserver:2.11.0. HOT 1
- Remove onLoadErrorFn/onPropertyErrorFn, or make them easier to disable
- Upgrading to GWT 2.10.1 is causing IncompatibleRemoteServiceException HOT 1
- GWT Issue with JDK 17 HOT 1
- Whitespace check inconsistency HOT 2
- closure-compiler build requires extra annotations to scan classes HOT 1
- Annotating an interface method with @JsProperty can produce runtime errors if jsinterop exports are not enabled HOT 1
- java.lang.Math is missing nextUp, nextDown, nextAfter emulation
- Upgrade from gwt 2.0.0 to 2.11.0 erroring out HOT 4
- Create github releases for all past GWT releases HOT 2
- Support private methods in interfaces HOT 4
- HTML 5 Drag and Drop: Impossible to disallow a drop operation in GWT HOT 6
- Provide options for ScriptInjector/CssResource/GssResource to work with CSP headers
- Implement (or document) missing CharSequence methods
- UI component library HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt.