Closed davidlhw closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
nusmods-export | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 26, 2024 2:34am |
nusmods-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 26, 2024 2:34am |
@davidlhw is attempting to deploy a commit to a Personal Account owned by @nusmodifications on Vercel.
@nusmodifications first needs to authorize it.
Attention: Patch coverage is 0%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 53.58%. Comparing base (
b20b4ce
) to head (c888c07
).
Files | Patch % | Lines |
---|---|---|
website/src/views/mpe/form/MpeFormContainer.tsx | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
LGTM, nice work at using map instead of find 👍
Context
closes #3674
Implementation
moduleCode
overwriting as they are already the sameProfiling
tl;dr - using
Map
to lookup modulecodes is about50x
faster atn=1000
than.find(...)
step 1: generate a large array of random moduleCodes and create a mock
fetchedSubmission
object andfetchedMpeModuleList
objectstep 2: profile original implementation
step 3a: profile
Map
implementationstep 3b: profile
object
implementationOther Information