-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Profile OASIS service for charge station based routing - Round 2 #349
Comments
Tricks for performance tune, change to a powerful server. It immediately jump to 10 seconds on macpro compare to 40~50 seconds on macbookpro. Due to I increased the memory usage, its not sufficient to run benchmarks on 16GB of physical memory, I switched to a macpro. Will do the following:
|
Testing for Round 1's result on macpro, more info go to #345 System time
CPU profileMemory profileNo change |
Test based on commit 1328354 in task #348 System time
From 40 seconds to 11 seconds. CPU profileMemory profile
Init time
increased from 30 seconds to 70 seconds |
Next step:
|
Finally, I got a slim version of curve This profile based on commit: 6bc2486, 3068da0, d0f2f94. More details could go to: #349 (comment) System time
From 11 seconds to 5.2 seconds. SummaryFor the result, I think I could make 3.5 seconds of http handling time fall into 1 seconds by
For the initialization part, it could be optimized by
But I will take other tasks first, and more importantly, I feel I need make overall structure more clear. During my improvement, the unit test helps a lot, it gave me the ability to make changes confidently. But I also notice that a lot of changes are applied into unit test, need more think about how to make a cleaner structure. CPU profile |
The summary in #349 (comment) show significant improvement. However, it's a little bit difficult to me to figure out what really changed affect the performance from both the change summary and commit. Will you please consider to re-orignaize and describe them in a read friendly way? That would be helpful for other guys too. Haha~ |
Too many changes in unit test, but I do need to summary it more clearly. |
part 1 (
|
Try to summary the improvements:
Did I missed anything? |
That's all the changes.
|
Subtask of #344, related with #345, next step is #352
Result Summary
Test env: macpro(macpro 2013 32 core 64GB memory 1TB ssd)
Major target
ETL
, input is current data, covert them directly into target dataweight
part Retire multiple definition ofweight
in oasis #348click here for full picture
Remove hash map of

Edge
click here for full picture
Use
slice
instead ofmap
The text was updated successfully, but these errors were encountered: