Xmark(1)

πŸ’… Xmark(1) β€” like, the x11perf vibe-checker, bestie

okay so real quick, this is Xmark from the General Commands Manual section, and I'm literally obsessed with how simple it is. it's a shell script. it reads a file and does math. that's the whole plot. πŸŽ€


✨ NAME ✨

Xmark β€” summarize x11perf results πŸ¦‹


🌸 SYNTAX 🌸

Xmark datafile

πŸ’– DESCRIPTION πŸ’–

so Xmark is a shell script, right? it reads the datafile you point it at, and it compiles a benchmark from it, and then it writes that benchmark to standard output. and what comes out is three numbers, periodt:

  • a weighted performance number for the x11perf results πŸ”₯
  • a weighted performance number for a standard SparcStation 1, with SunOS 4.1.2, X11R5 Xsun, and a CG3 dumb Color Frame Buffer 😭 (she's vintage, she's iconic, she's a dumb color frame buffer)
  • the Xmark, which is just the ratio of the two numbers above πŸ’…

the datafile has to be an ordinary file, and it has to be produced by x11perf, like this:

x11perf -display display -v1.3 -rop GXcopy GXxor -all > datafile

and ngl you can run the GXcopy and GXxor tests separately β€” as long as you concatenate them into the same output file 🫢 like so:

x11perf -display display -v1.3 -rop GXcopy -all > datafile
x11perf -display display -v1.3 -rop GXxor -all >> datafile

or, flip mode, equally valid:

x11perf -display display -v1.3 -rop GXxor -all > datafile
x11perf -display display -v1.3 -rop GXcopy -all >> datafile

either order, she does not care ⭐


πŸŽ€ FILES πŸŽ€

  • temp.$$ β€” a temporary file created in the current directory, deleted after use. lowkey just passing through, no cap πŸ™ˆ

πŸ’€ DIAGNOSTICS πŸ’€

these are the messages she throws when something's off:

  • Usage: Xmark datafile β€” you invoked Xmark without arguments, or with more than one argument, or with options. and bestie, Xmark takes no options. none. zero. don't try it πŸ’…
  • Error: data file does not exist or is not ordinary. β€” Xmark cannot find the datafile you named on the command line, or the datafile is a special file, like a directory 😭
  • WARNING: datafile contains nnn, not 441 or 447 'trep' results; β€” the file you named on the command line does not seem to be a file generated by x11perf in the expected way. she's side-eyeing your file fr fr πŸ“
  • Diagnostic: ERROR: sum of weights =nnn, not equal to 4566.0; β€” there is an internal error in Xmark. that's a her-problem, not a you-problem πŸ’€

🌈 SEE ALSO 🌈


ok that's the whole page!! go run your benchmarks, hydrate, and remember: ordinary files only πŸ’œ

✧ο½₯゚ X Version 11 Β· x11perf 1.7.0 Β· mwah, catch you on the flip side ✧ο½₯゚

πŸ“¦ where this page comes from