Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Performance - Load itens in a combo box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Performance - Load itens in a combo box" Watch "Performance - Load itens in a combo box" New topic

Performance - Load itens in a combo box

Arthur Cesar Oreana

Joined: Nov 26, 2004
Posts: 5
Hi guys!

I wanna know if somebody has been make or know performing tests to load data in a combo box (HTML, tag <select> using a MVC architecture.

Is there a limit (min. and max. or range) of itens to be loaded?

Thanks in advance!


Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Minimum is somewhat around zero.
Maximum might not be greater than Integer.MAX_INT, because there are methods to get Element the at index (int).

Why don't you write a small test-program, to find out the limit?
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
If I'm understanding correctly, this is a HTML question. Moving to HTML forum, therefore...

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Only thing is, the more items on the page, the longer the load time since it takes longer to render the element.

I have seen selects with a couple thousand rerods in them and you barely notice the load times.

I agree. Here's the link:
subject: Performance - Load itens in a combo box
It's not a secret anymore!