Remove usage of create in label_presenter
What does this MR do and why?
Describe in detail what your merge request does and why.
Related #378910
Before
Finished in 7.36 seconds (files took 9.08 seconds to load)
3 examples, 0 failures
[TEST PROF INFO] Time spent in factories: 00:00.924 (10.98% of total time)
[TEST PROF INFO] Factories usage
Total: 8
Total top-level: 5
Total time: 00:00.924 (out of 00:13.412)
Total uniq factories: 4
total top-level total time time per call top-level time name
3 3 0.9087s 0.3029s 0.9087s project
3 0 0.3893s 0.1298s 0.0000s namespace
1 1 0.0071s 0.0071s 0.0071s license
1 1 0.0088s 0.0088s 0.0088s label
After
Finished in 6.91 seconds (files took 9 seconds to load)
3 examples, 0 failures
[TEST PROF INFO] Time spent in factories: 00:00.006 (0.08% of total time)
[TEST PROF INFO] Factories usage
Total: 1
Total top-level: 1
Total time: 00:00.006 (out of 00:13.080)
Total uniq factories: 1
total top-level total time time per call top-level time name
1 1 0.0067s 0.0067s 0.0067s license
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.