Why single thread is faster than multithreading in Java?

The processing that you are doing is trivial, so the overhead of creating threads is more expensive.

If you had expensive operations which could be done in parallel then multi threads make sense.

Leave a Comment