mdoc issues credentials up to 2× faster than W3C VCDM
mdoc provides significantly lower signing and verification latency than SD-JWT VC and W3C VCDM
Systems arXiv 2 Nov 2026 Benchmark Prototype evidence
Published as “An Empirical Evaluation of Signing and Verification Performance of Verifiable Credential Formats: A Cross-Language Benchmark of SD-JWT VC, W3C VCDM, and mdoc”
Why it matters
Deployers of European Digital Identity Wallets can choose mdoc for raw throughput, but must consider hardware-specific effects and the higher cost of preserving the issuer’s signature with W3C VCDM.
Summary
Across four test environments, mdoc is consistently the fastest, SD-JWT VC is middle, and W3C VCDM is the slowest for signing and verification with selective disclosure. The ordering holds even when the signature algorithm is fixed, but on the Xeon E5645 machine (Environment D) the gap between mdoc and SD-JWT VC disappears, making the choice hardware-dependent. Canonicalization dominates the cost of W3C VCDM, accounting for over half of its signing time. The evidence comes from a reproducible benchmark measuring thousands of runs per format.
What they found 2
- The total end-to-end signing + verification time orders consistently as mdoc < SD-JWT VC < W3C VCDM across all four environments.
“The totals order the same way in all four environments: mdoc lowest, SD-JWT VC next, W3C VCDM last.”
- Canonicalization (RDFC-1.0) is the primary cost driver for W3C VCDM, taking 61 % of signing time in Environment A.
“Against the specified pipeline, canonicalization accounts for 61.0% of signing in Environment A, signing for 26.6% and hashing for 1.3%.”
Caveats 2
- On the Xeon E5645 machine (Environment D) the mdoc and SD-JWT VC totals differ by only 10 % and the SD-JWT VC run-to-run spread is 13.9 %, so the ordering does not separate them.
- Quote: "Environment D does not separate mdoc from SD-JWT VC at all."
What’s new here 4
- Provides the first cross-language, end-to-end performance comparison of SD-JWT VC, W3C VCDM + Data Integrity, and mdoc under identical selective-disclosure scenarios.
- Separates the impact of the signature algorithm from the credential pipeline by fixing the algorithm across formats.
- Measures implementation-complexity metrics (lines of code, cyclomatic complexity, async steps) for the verification wrappers.
- Analyzes how RDF dataset canonicalization (RDFC-1.0) drives the performance gap of W3C VCDM.