(August 12, 2022 at 1:41 pm)FlatAssembler Wrote:(August 12, 2022 at 9:24 am)HappySkeptic Wrote: No-one is going to help you on such a generic question. First, write a series of performance tests with timings. Then, use the a performance tool on whatever Javascript system you are on (the one in Chrome are good). Look for hot spots in the bottom-up profiling.
When coding for performance, I always have an idea of the performance I'm expecting. I break down the pieces and check the speed of each. If you aren't testing with actual numbers, you have nothing to go by.
Whence am I supposed to know all those things? I am just a third-year computer science student. And I have also been using a hell lots of things we haven't been taught at the university in my program.
If you’ve been at this for three years and don’t understand performance tests, maybe you should enroll in a different CS programme.
Boru
‘But it does me no injury for my neighbour to say there are twenty gods or no gods. It neither picks my pocket nor breaks my leg.’ - Thomas Jefferson