Well it's also an LZMA implementation, and an implementation can be fast or slow, good or bad.
From what I gather 7zip tends to be quite a bit faster than xz, since it's been worked on/optimized quite a bit more (I didn't test this myself to verify, but I've seen several people comment on that over the last few years).