Emdee five for life - too slow...

Using this small shell script, I keep being reminded I’m too slow:
curl -sX POST http://<instance>:<port>/ -d hash=$(curl http://<instance>:<port>/ -s | tee out | xmllint --xpath 'html/body/h3/text()' --html 2>/dev/null - | md5sum - | cut -d' ' -f1 | tee -a out)

archlinux% cat out
<html>
<head>
<title>emdee five for life</title>
</head>
<body style="background-color:powderblue;">
<h1 align='center'>MD5 encrypt this string</h1><h3 align='center'>hxAITRvGDYxRiFpvBEoL</h3><center><form action="" method="post">
<input type="text" name="hash" placeholder="MD5" align='center'></input>
</br>
<input type="submit" value="Submit"></input>
</form></center>
</body>
</html>
efc3dfa9a7b915f1c0b49f5b251adf9b

And md5sum <<< hxAITRvGDYxRiFpvBEoL == efc3dfa9a7b915f1c0b49f5b251adf9b
What’s wrong?

Speed issue aside, check this out: linux - md5sum returns a different hash value than online hash generators - Server Fault

That could’ve been the cause, but isn’t. Shell scripting might be too slow…
I ended up writing a userscript to run in my browser.