The devices under question have almost equal performance levels. Let us discuss the devices under the separate heads to arrive at a better understanding of each of them.
Display
The Sony Xperia X has a 5 inch full HD display. The LG G5 on the other hand has a 5.3. Inch qHD display. The resolution difference is quite evident as LG offering has 2560x1440 while Sony Xperia provides a resolution of 1920x1080. LG boasts of its Quantum HD display. At the same time, Sony has its patented Triluminous technology under its belt. LG G5 has a better pixel density at 554 ppi, while that of Sony Xperia X at just 441 ppi.
Winner - LG G5
Design
In ferms of design, the LG G5 hits the chkrd with the consumers. It has been innovative with its approach. The modular design is quite innovative. LG has lined up a few custom modules and the response is yet to be seen. Sony has been using the same OmniBalance design. They have gone for a few little changes like opting for metal back instead of glass approach.
Winner - LG again takes the lead here. It has tried something new and thats something we need to appreciate.
Hardware
LG G5 is powered by a Qualcomm Snapdragon 820 ocfacore processor. Coupled it with, you have a 4 GB RAM. Sony Xperia X too has the same processor under the hood, but comes with a little low RAM at 3GB. In terms of storage, both of them stay together. Both the competing devices come with 32 GB of internal storage. Both of them support memory expansion options using microSD card. LG G5 supports memory expansion up to 200 GB.
Winner - Well, frankly speaking, the devices seem to tie up here. There isn't much of a difference to set them apart. Sony Xpreia X falls a little short with slightly lower RAM, yet that's not exactly a big deal.
Camera
As expected, Sony Xperia X Performance takes the lead here. You get a whopping 23 MP sensor. Not only megapixels, but it has a great pixel count. Coupled with Sony's best camera module till now, the phone offers the fastest auto focus. Sony has rederred to it as Predictive Hybrid Autofocus. There is a 13 MP front snapper which is again a great advantage ( more so, considering the fact that most of the smartphones have that as the primary camera).
LG G5 does not have any low standards. The 16 MP rear camera does a good job. It has laser autofocus. LG has used dual sensor technology to improve your imaging experience.
Winner - Based on the spec sheet, Sony Xperia X Performance is the better among the two. Of course, the actual performance will made clear only after a full fledged reviews, yet Sony is the winner here.
Battery and other features
Both LG G5 and Sony Xperia X Performance tie up slightly here. LG G5 has a 2800 mAh battery, while Sony Xperia X is powered by a 2700 mAh one. Given the fact that LG G5 has the Always On feature and a larger screen, the battery backup csn be slightly lower. On the other hand, the lower screen size, low resolution will make Sony to offer better backup.
Rest of the features remain identical. One major difference though, is the water and dust resistance offered by Sony Xperia X Performance.
All in all, the devices are new enough and we may need to wait for the uswr feedback and reviews before making a final comment. However, on most counts the competition seems to be even with either of the devices taking the lead in one or the other festure set.
Live....and Let Live!