Perplexity and cross entropy are commonly understood as compression measures:
https://d2l.ai/chapter_mdl-information-theory/mdl-coding-com...