Improve performance by: - Moving function to another thread (Preferred) - Making function asynchronous.
Improve performance by: