---
# System prepended metadata

title: QA report

---

# QA report

![image](https://hackmd.io/_uploads/H15HjTEWC.png)

![image](https://hackmd.io/_uploads/BkXrNCEbR.png)
Flag{1NpuT_tO0_10N9}


用 `ps aux | grep x86_linux` 找到PID然後用 `sudo pmap -x [PID]` 找到memory usage
![image](https://hackmd.io/_uploads/ry7KtA4ZA.png)

```sh=
start=$SECONDS
cnt=0
while IFS= read -r line; do
    if [[ cnt -ge 100000 ]]; then
        break
    fi
    echo "register A B $line" | ./x86_linux
    cnt=$((cnt+1))
done < "code.txt"
echo "$((SECONDS - start))"
```
測時間
跑1000次: 8秒
5000次: 38秒
10000次:　72秒 

![image](https://hackmd.io/_uploads/S1WPiyBbC.png)
