Both applications are written in C and compiled to wasm in order to be served via wagi.
Any message passed as body of the request is going to be appended (creates the file if doesnt exist) to the file "data.txt".
curl http://localhost:3000/append -d "[Your message]"This is a load generator algorithm that implements the wost case search for quicksort O(
To see all possible arguments, type:
$ curl http://localhost:3000/quicksort?--help
Argumentos válidos:
--tamanho <inteiro> -> Quantidade de elementos a serem reordenados
--imprime -> Ativa impressão dos elementos antes e depois
--help -> Imprime ajudaThe command equivalent to
./executable --tamanho 20 --imprimeNeeds to substitute ' '(space) with '\&'
curl http://localhost:3000/quicksort?--tamanho\&20\&--imprime