Performance difference between host and docker container of CL

I am a newb who is always surprised by ClearLInux’s performance.

My computer i9 is Ubuntu-host system, and I am using clearlinux/machine-learning-ui docker image for large matrix calculation.

If I install clearlinux as a host OS of my computer, will it be faster than the current ubunut-host/CL-docker-container?

I am hesitating because of the trouble of driver installing.
Any advice from experienced people would be appreciated.
Thanks in advance.

it won’t differ too much