I had the same issue and was ready to return the X. After reading several articles and trying every suggestion, I finally came across the fix that worked for me. http://recomhub.com/blog/iphone-x-internet-speed-slow-solved/
*Turn the Wifi assist off*