[GH-ISSUE #4349] [feature]: slow render on some screens #1582

Open
opened 2026-03-16 20:57:06 +03:00 by kerem · 9 comments
Owner

Originally created by @shipko on GitHub (Sep 16, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4349

Is there an existing issue for this?

  • I have searched the existing issues

Summary

I noticed that on some screens the rendering time increases linearly with the number of elements. For example, on the edit environment variables page.

With a number of elements of about 100, the page generation time takes more than 2 seconds (macbook m1), even longer on older machines.

With the help of the profiler, it was found out that the problem is too "heavy" SmartEnvInput.

I ask you to optimize somehow, because this is important for us.

test.json

Why should this be worked on?

The product is slow when used in full on large amounts of data. This prevents implementation in large companies

Originally created by @shipko on GitHub (Sep 16, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4349 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary I noticed that on some screens the rendering time increases linearly with the number of elements. For example, on the edit environment variables page. With a number of elements of about 100, the page generation time takes more than 2 seconds (macbook m1), even longer on older machines. With the help of the profiler, it was found out that the problem is too "heavy" SmartEnvInput. I ask you to optimize somehow, because this is important for us. [test.json](https://github.com/user-attachments/files/17009709/test.json) ### Why should this be worked on? The product is slow when used in full on large amounts of data. This prevents implementation in large companies
Author
Owner

@HetuKariya commented on GitHub (Oct 4, 2024):

Can I work on this problem?

<!-- gh-comment-id:2392716920 --> @HetuKariya commented on GitHub (Oct 4, 2024): Can I work on this problem?
Author
Owner

@shipko commented on GitHub (Oct 10, 2024):

@jamesgeorge007 @AndrewBastin maybe we give a chance for @HetuKariya ?

<!-- gh-comment-id:2405312269 --> @shipko commented on GitHub (Oct 10, 2024): @jamesgeorge007 @AndrewBastin maybe we give a chance for @HetuKariya ?
Author
Owner

@HetuKariya commented on GitHub (Oct 12, 2024):

I have removed all the extra nesting in json files of locales so that the rendering speed would increase. Can you please give me the permission to push this to the main branch please.

<!-- gh-comment-id:2408602079 --> @HetuKariya commented on GitHub (Oct 12, 2024): I have removed all the extra nesting in json files of locales so that the rendering speed would increase. Can you please give me the permission to push this to the main branch please.
Author
Owner

@HetuKariya commented on GitHub (Oct 12, 2024):

I have removed 6000 - 7000 lines of extra code and made it smaller so that the rendering speed increases

<!-- gh-comment-id:2408602374 --> @HetuKariya commented on GitHub (Oct 12, 2024): I have removed 6000 - 7000 lines of extra code and made it smaller so that the rendering speed increases
Author
Owner

@AndrewBastin commented on GitHub (Oct 12, 2024):

Can you please give me the permission to push this to the main branch please.

@HetuKariya we don't give people the ability to push to the main repo, instead you are supposed to raise a Github PR. Please read up about it and go through the proper channels.

<!-- gh-comment-id:2408623497 --> @AndrewBastin commented on GitHub (Oct 12, 2024): > Can you please give me the permission to push this to the main branch please. @HetuKariya we don't give people the ability to push to the main repo, instead you are supposed to raise a Github PR. Please read up about it and go through the proper channels.
Author
Owner

@HetuKariya commented on GitHub (Oct 13, 2024):

Ok and once I make this PR can you please give this repo hacktoberfest and hacktoberfest - accepted and close the issue?

<!-- gh-comment-id:2408778868 --> @HetuKariya commented on GitHub (Oct 13, 2024): Ok and once I make this PR can you please give this repo hacktoberfest and hacktoberfest - accepted and close the issue?
Author
Owner

@HetuKariya commented on GitHub (Oct 15, 2024):

I have made a pr and the number of the pr is : #4438 please close this issue

<!-- gh-comment-id:2414332168 --> @HetuKariya commented on GitHub (Oct 15, 2024): I have made a pr and the number of the pr is : #4438 please close this issue
Author
Owner

@HetuKariya commented on GitHub (Oct 15, 2024):

also please give this pr a hacktoberfest accepted tag

<!-- gh-comment-id:2414335204 --> @HetuKariya commented on GitHub (Oct 15, 2024): also please give this pr a hacktoberfest accepted tag
Author
Owner

@HetuKariya commented on GitHub (Oct 15, 2024):

https://github.com/hoppscotch/hoppscotch/pull/4438

<!-- gh-comment-id:2414340808 --> @HetuKariya commented on GitHub (Oct 15, 2024): https://github.com/hoppscotch/hoppscotch/pull/4438
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1582
No description provided.