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)
- Looking for a solution to authorize and secure GWT RPC API calls HOT 2
- Java 9 BigInteger constructors with offset/length params missing HOT 4
- RequestFactory tests fails under java 21 due to changes in the List API
- GWT release with Jetty 11.x HOT 2
- Remove general usage of Window `unload` event
- Explore options to update `long` emulation
- Enum and Enum[] can't be received on Java 21
- Properties defined with JsProperty are not enumerable, do not work with spread operator HOT 1
- java.io.Reader.read(char[] buf/char[] buf, int off, int len) must throw IOException
- GWT compile errors when trying to build with GWT 2.10 or 2.11 HOT 14
- Finish removing deprecated SynchronousFragmentLoadCallback
- Explore eagerly initializing selected classes HOT 2
- GWT 2.12 deprecations/removals HOT 1
- Can't set UNNECESSARY roundingMode HOT 3
- Error on compile Java 8 - GWT 2.11 HOT 3
- Optimize out casts that must succeed
- Compile error - GWT Google Web Toolkit (2.10.0, 2.10.1, 2.11.0) on java17. HOT 13
- SerializableThrowable does not handle suppressed exceptions
- StackTraceDeobfuscator sometimes produces total nonsense HOT 5
- Regression in jsinterop varargs causing internal compiler error HOT 3
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.