From c15f4c25b8a647e6e062be66ddc198713966bded Mon Sep 17 00:00:00 2001 From: Jacek Gebal Date: Fri, 27 Jul 2018 09:33:59 +0100 Subject: [PATCH] Improved performance of tests by changing runtime plsql_optimize_level=0 --- test/core.pkb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/core.pkb b/test/core.pkb index 69a21b69e..7ace9f7ce 100644 --- a/test/core.pkb +++ b/test/core.pkb @@ -3,6 +3,9 @@ create or replace package body core is procedure global_setup is begin ut3.ut_coverage.set_develop_mode(true); + --improve performance of test execution by disabling all compiler optimizations + execute_autonomous('ALTER SESSION SET PLSQL_OPTIMIZE_LEVEL=0'); + execute_autonomous( q'[create or replace package ut_transaction_control as function count_rows(a_val varchar2) return number;