Access Control is now enabled for Gitlab Pages so you can now restrict Pages to authorized users only. If needed, make your website publicly available : Navigate to your project's Settings > General > Visibility and select Everyone in pages section.

Commit 2d5328d6 authored by Tony Licata's avatar Tony Licata

added benchmarks and changed previous unit test#7 into 07_consult.pl

parent 20402036
recommendedN(100000).
benchmark2(N, Time):-
benchmark(N),
benchmark(N),
benchmark(N),
benchmark(N),
real_time(A),
benchmark(N),
real_time(B),
is(C,'-'(B,A)),
'='(Time,C).
benchmark_text('time for N equal ').
benchmark_one:-
do_benchmark(100).
benchmark_two:-
do_benchmark(1000).
benchmark_three:-
do_benchmark(10000).
benchmark_four:-
do_benchmark(30000).
benchmark_five:-
do_benchmark(50000).
do_benchmark(N):-
benchmark_text(BenchText),
benchmark(N,Time),
write(BenchText), write(N), write(': '), write(Time).
benchmark(N, Time):-
real_time(A),
benchmark(N),
real_time(B),
is(C,'-'(B,A)),
'='(Time,C).
benchmark(0).
benchmark(N):-
is(N1,'-'(N,1)),
benchmark(N1).
\ No newline at end of file
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment