SQL> create or replace procedure num_test_as_pls is
2 x pls_integer;
3 t number := dbms_utility.get_time;
4 begin
5 for i in 1 .. 1000 loop
6 x := i;
7 end loop;
8 dbms_output.put_line((dbms_utility.get_time-t)||'cs');
9 end;
10 /
Procedure created.
SQL>
SQL>
SQL>