r/programminghorror • • Oct 09 '20

Java The code retrieves over 100000 string from the database and renders 100000 option element on the UI. It takes 1 minute to be rendered.

Post image
54 Upvotes

5 comments sorted by

5

u/[deleted] Oct 09 '20

"It worked fine with all my test data"

2

u/man_in_the_red Oct 12 '20

All 32 bytes of it

1

u/ralph28561 Oct 09 '20

I totally found something just like this the other day on prod. And it's been there for like 2 years.