I think the lack of fans will be a handicap, because when it gets hot all it can do is throttle down the processor. The top 2017 Macbook model has a geekbench rating a bit higher than the above-mentioned 2014 mini and the base model is about the same as the mini:
https://everymac.com/systems/apple/macbook/specs/macbook-core-i7-1.4-12-mid-2017-specs.html
https://everymac.com/systems/apple/macbook/specs/macbook-core-m3-1.2-12-mid-2017-specs.html
Have not used them, but this has been discussed elsewhere and I think they will not sustain that performance under stress. I have seen an example of this with my 2013 i7/8gb MacBook Air vs 2012 quad mini. Comparing geekbench ratings, the mini should be 1.5 times faster. But in a test with handbrake, the quad mini rendered video 2.5 times faster. I think this is because the mini has a better cooling system. Of course, both computers had the fans roaring.
Now the MacBooks are about the same geekbench rating as my MacBook Air. But with no fan to roar, I think they would have to slow way down during a sustained operating like video compression. For Logic, I don't know, I think it is mostly related to how many tracks and plug-ins you are using.