Steam Machine vs homebuilt PC

How do steam machines compare to PCs for price vs performance? I’m trying to decide whether i should build my own desktop or get a steam machine and install linux on it.