diff --git a/src/code_gen/main.jl b/src/code_gen/main.jl index ce4713b..e37ac2f 100644 --- a/src/code_gen/main.jl +++ b/src/code_gen/main.jl @@ -92,7 +92,7 @@ end Return a function of signature `compute_(input::AbstractProcessInput)`, which will return the result of the DAG computation on the given input. """ function get_compute_function(graph::DAG, process::AbstractProcessDescription, machine::Machine) - @time (code, inputSymbols, outputSymbol) = gen_code(graph, machine) + (code, inputSymbols, outputSymbol) = gen_code(graph, machine) initCaches = gen_cache_init_code(machine) assignInputs = gen_input_assignment_code(inputSymbols, process, machine, :input) @@ -102,9 +102,8 @@ function get_compute_function(graph::DAG, process::AbstractProcessDescription, m expr = Meta.parse( "function compute_$(functionId)(input::AbstractProcessInput) $initCaches; $assignInputs; $code; return $resSym; end", ) - println("Evaluating expression of size $(Base.summarysize(expr))") - - @time func = eval(expr) + + func = eval(expr) return func end