mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
39bf41f4eb
- Python static hello world now 1.8mb - Python static fully loaded now 10mb - Python HTTPS client now uses MbedTLS - Python REPL now completes import stmts - Increase stack size for Python for now - Begin synthesizing posixpath and ntpath - Restore Python \N{UNICODE NAME} support - Restore Python NFKD symbol normalization - Add optimized code path for Intel SHA-NI - Get more Python unit tests passing faster - Get Python help() pagination working on NT - Python hashlib now supports MbedTLS PBKDF2 - Make memcpy/memmove/memcmp/bcmp/etc. faster - Add Mersenne Twister and Vigna to LIBC_RAND - Provide privileged __printf() for error code - Fix zipos opendir() so that it reports ENOTDIR - Add basic chmod() implementation for Windows NT - Add Cosmo's best functions to Python cosmo module - Pin function trace indent depth to that of caller - Show memory diagram on invalid access in MODE=dbg - Differentiate stack overflow on crash in MODE=dbg - Add stb_truetype and tools for analyzing font files - Upgrade to UNICODE 13 and reduce its binary footprint - COMPILE.COM now logs resource usage of build commands - Start implementing basic poll() support on bare metal - Set getauxval(AT_EXECFN) to GetModuleFileName() on NT - Add descriptions to strerror() in non-TINY build modes - Add COUNTBRANCH() macro to help with micro-optimizations - Make error / backtrace / asan / memory code more unbreakable - Add fast perfect C implementation of μ-Law and a-Law audio codecs - Make strtol() functions consistent with other libc implementations - Improve Linenoise implementation (see also github.com/jart/bestline) - COMPILE.COM now suppresses stdout/stderr of successful build commands
80 lines
4 KiB
Bash
Executable file
80 lines
4 KiB
Bash
Executable file
#!/bin/sh
|
|
make -j8 o//third_party/mbedtls || exit
|
|
|
|
run() {
|
|
echo $1
|
|
$1
|
|
}
|
|
|
|
(
|
|
run o//third_party/mbedtls/test/test_suite_aes.cbc.com
|
|
run o//third_party/mbedtls/test/test_suite_aes.cfb.com
|
|
run o//third_party/mbedtls/test/test_suite_aes.ecb.com
|
|
run o//third_party/mbedtls/test/test_suite_aes.ofb.com
|
|
run o//third_party/mbedtls/test/test_suite_aes.rest.com
|
|
run o//third_party/mbedtls/test/test_suite_aes.xts.com
|
|
run o//third_party/mbedtls/test/test_suite_asn1parse.com
|
|
run o//third_party/mbedtls/test/test_suite_asn1write.com
|
|
run o//third_party/mbedtls/test/test_suite_base64.com
|
|
run o//third_party/mbedtls/test/test_suite_blowfish.com
|
|
run o//third_party/mbedtls/test/test_suite_chacha20.com
|
|
run o//third_party/mbedtls/test/test_suite_chachapoly.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.aes.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.blowfish.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.ccm.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.chacha20.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.chachapoly.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.des.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.gcm.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.misc.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.nist_kw.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.null.com
|
|
run o//third_party/mbedtls/test/test_suite_cipher.padding.com
|
|
run o//third_party/mbedtls/test/test_suite_ctr_drbg.com
|
|
run o//third_party/mbedtls/test/test_suite_des.com
|
|
run o//third_party/mbedtls/test/test_suite_dhm.com
|
|
run o//third_party/mbedtls/test/test_suite_ecdh.com
|
|
run o//third_party/mbedtls/test/test_suite_ecdsa.com
|
|
run o//third_party/mbedtls/test/test_suite_ecjpake.com
|
|
run o//third_party/mbedtls/test/test_suite_ecp.com
|
|
run o//third_party/mbedtls/test/test_suite_entropy.com
|
|
run o//third_party/mbedtls/test/test_suite_error.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.aes128_de.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.aes128_en.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.aes192_de.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.aes192_en.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.aes256_de.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.aes256_en.com
|
|
run o//third_party/mbedtls/test/test_suite_gcm.misc.com
|
|
run o//third_party/mbedtls/test/test_suite_hkdf.com
|
|
run o//third_party/mbedtls/test/test_suite_hmac_drbg.misc.com
|
|
run o//third_party/mbedtls/test/test_suite_hmac_drbg.no_reseed.com
|
|
run o//third_party/mbedtls/test/test_suite_hmac_drbg.nopr.com
|
|
run o//third_party/mbedtls/test/test_suite_hmac_drbg.pr.com
|
|
run o//third_party/mbedtls/test/test_suite_md.com
|
|
run o//third_party/mbedtls/test/test_suite_mdx.com
|
|
run o//third_party/mbedtls/test/test_suite_memory_buffer_alloc.com
|
|
run o//third_party/mbedtls/test/test_suite_mpi.com
|
|
run o//third_party/mbedtls/test/test_suite_net.com
|
|
run o//third_party/mbedtls/test/test_suite_nist_kw.com
|
|
run o//third_party/mbedtls/test/test_suite_oid.com
|
|
run o//third_party/mbedtls/test/test_suite_pem.com
|
|
run o//third_party/mbedtls/test/test_suite_pk.com
|
|
run o//third_party/mbedtls/test/test_suite_pkcs1_v15.com
|
|
run o//third_party/mbedtls/test/test_suite_pkcs1_v21.com
|
|
run o//third_party/mbedtls/test/test_suite_pkcs5.com
|
|
run o//third_party/mbedtls/test/test_suite_pkparse.com
|
|
run o//third_party/mbedtls/test/test_suite_pkwrite.com
|
|
run o//third_party/mbedtls/test/test_suite_poly1305.com
|
|
run o//third_party/mbedtls/test/test_suite_random.com
|
|
run o//third_party/mbedtls/test/test_suite_rsa.com
|
|
run o//third_party/mbedtls/test/test_suite_shax.com
|
|
run o//third_party/mbedtls/test/test_suite_ssl.com
|
|
run o//third_party/mbedtls/test/test_suite_timing.com
|
|
run o//third_party/mbedtls/test/test_suite_version.com
|
|
run o//third_party/mbedtls/test/test_suite_x509parse.com
|
|
run o//third_party/mbedtls/test/test_suite_x509write.com
|
|
) | o//tool/build/deltaify2.com | sort -n | tee speed.txt
|
|
|
|
mkdir -p ~/speed/mbedtls
|
|
cp speed.txt ~/speed/mbedtls/$(date +%Y-%m-%d-%H-%H).txt
|