• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TexasDigitalLibrary / Vireo / 5673074983

pending completion
5673074983

push

github

kaladay
Issue 1842: Submission create is taking longer by processing unneeded data.

The Submission create takes a long time because the back end is returning the full created Submission model.
The front end then processing the entire Submission model.
This takes a long time.

The processed model is added to the Submission repo but then a redirect is performed on the ID.
All of that just created Submission model data is lost due to the redirect.
Loading and processing that data is a waste of time.

Redesign the back end to instead return an ID on create rather than the full model.
Instead, return just the newly created Submission ID.
On redirect, the new Submission is fully loaded anyway and so only getting the ID is not a problem.

This saves ~2000ms in my local test case.

1020 of 2041 branches covered (49.98%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 2 files covered. (100.0%)

7674 of 13169 relevant lines covered (58.27%)

6.8 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.74
/src/main/java/org/tdl/vireo/controller/SubmissionController.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc