--memory printf optimization (#12) #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: valgrind | |
on: | |
push: | |
branches: [ "main" ] | |
paths: ['src/**'] | |
pull_request: | |
branches: [ "main" ] | |
paths: ['src/**'] | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: apt install dependency | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install valgrind | |
- name: valgrind check | |
run: | | |
make DEBUG=1 | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --reverse full --upper full --leet full --start 1 --end 5 --only_transformations --last 2024,001,1,355 --connectors .,- hi how ar,e you fi,ne 1>/dev/null | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --reverse full --upper full --leet full --start 1 --end 5 --last 2024,001,1,355 --connectors .,- hi how ar,e you fi,ne 1>/dev/null | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --memory --reverse full --upper full --leet full --start 1 --end 5 --only_transformations --last 2024,001,1,355 --connectors .,- hi how ar,e you fi,ne 1>/dev/null | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --memory --reverse full --upper full --leet full --start 1 --end 5 --last 2024,001,1,355 --connectors .,- hi how ar,e you fi,ne 1>/dev/null | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --start 1 --end 10 a b c d e f g h i l 1>/dev/null | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --random 10000,12 --charset ascii 1>/dev/null | |
valgrind --show-leak-kinds=all -s --leak-check=full --track-origins=yes ./seqperm --random 10000,12 abcedfg0123456789 1>/dev/null |