I started playing around with processes. which is the only way to get python to run multi core. that's why if you have a quad core processor EG will never take up more then 25% because that is 100 % of a single core (unless you change the affinity). so in order to go over that you would need to spawn processes. which has a significant amount of overhead. and from what I have seen it actually makes EG slower.
On an OT note... I did a build of Domoticz it's actually very easy. This has fixed a couple of bugs. but it has also improved the response time of the UI.
here is the exact process to build it...
Install Visual Studio Community Edition. make sure you add the C++ bits to it and also add the standard library. the total install should be about 5 gig.
download the source from https://github.com/domoticz/domoticz
unzip the source.
download the windows libraries from from https://github.com/domoticz/win32-libraries
unpack the libraries into the msbuild folder
in the msbuild folder locate the file domoticz.vcxproj, right click it and click on open with. and select Visual Studio 2017
once it has loaded. at the top click the build drop down menu click on configuration manager. at the top of the manager under "Active solution configuration" change it to Release and then close the manager
click on the build menu again and click on rebuild solution.
You will see a whole lot of warnings. do not worry about those.
If you have Domoticz running as a service you will need to stop the service.
I have not tried to fix this issue. if you have it installed as a service it will no longer run that way. you are going to have to run it like an application.
go and backup your installed Domoticz then delete all the files and folders in the install directory
folders that will need to be moved form the source to the Install directory.
files that will need to be copied from the backup folder (some of these you may have and some you may not.)
now back to the msbuild folder. and under release you will see the main domoticz executable. you will need to copy this as well
if you have any plugins/custom floorplans or anything else you will have to copy those as well from the backup folder.