Profiling
[DEPRECATED — See notice in README.md] Network-level performance testing of post-quantum cryptography using the OQS suite
Install / Use
/learn @open-quantum-safe/ProfilingREADME
profiling
Testing various functional and non-functional properties like performance and memory consumption
<span style="color: red;">DEPRECATION NOTICE</span>
<b><span style="color: red;">The Open Quantum Safe project has discontinued development of our profiling project. This repository is being archived as read-only. Use of this code is not recommended, as it is not maintained and may produce unreliable data. If you are interested in contributing to OQS benchmarking efforts, please reach out via the OQS discussion board on Github.</span></b>
Purpose
This repository is to contain software geared to collect profiling information across the algorithms supported by liboqs at different levels of the software and network stack.
Particularly, measurements will be collected using
- ´liboqs´ library-level performance testing using ´speed_sig´ and ´speed_kem´ for execution performance numbers and ´test_sig_mem´ and ´test_kem_mem´ for memory consumption numbers (heap and stack)
- ´openssl´ application-level performance testing using ´openssl speed´
- ´openssl´ "basic network"-level raw handshake performance testing using ´openssl s_time´
- "Simulated"/controlled network-level performance testing [not yet implemented]
- "Full stack" performance testing using standard client software like ´curl´ and standard server software like ´nginx´ [not yet implemented].
This repository will not contain tests replicating raw algorithm-level testing as done by Supercop.
Methodology
All tests
- are packaged into standalone Docker images facilitating execution across different (cloud) platforms and hardware architectures & CPU optimizations
- are designed to return JSON output representing current profiling numbers that can be stored arbitrarily; initial storage facilities are provided to deposit data into AWS S3.
- allow to also collect/document profiling numbers of classic crypto to permit comparison with PQC algorithms
- can be visualized by suitable Chart.js code: see visualization folder.
Wrapper scripts are created to facilitate automatically running these tests on different cloud infrastructures and storing the resulting JSON output as well as the wrapping HTML and JavaScript code.
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
