-
Hi, My solution typically takes an average of 2.4 minutes to finish processing 1 billion rows. However, on the scoreboard, it shows a duration of 17 minutes. What could be the reason for this significant difference? |
Beta Was this translation helpful? Give feedback.
Answered by
Moohaa
Feb 25, 2024
Replies: 1 comment 8 replies
-
Not sure why it is much faster in your machine than ours, but the runtime is different and there are many things that inherently will be different. All submissions runs within the same machine |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, thank you @aboullaite .
The issue was that I used Runtime.getRuntime().availableProcessors(), and it returned 1 in the judge VM. This is a known problem https://repost.aws/questions/QUDkXshWl4RiKuTd_qdDMVxw/jvm-runtime-getruntime-availableprocessors-returns-1-on-aws-ecs-fargate.