Construct CallUncompiledFunctionComplexArgs

Performance Diagrams

Construct CallUncompiledFunctionComplexArgs 0010000000100000002000000020000000300000003000000040000000400000005000000050000000600000006000000070000000700000008000000080000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)8139152288.95192307692307257.0CPython 3.1252768719242.31730769230768343.9026011347396Nuitka (main)52375897395.6826923076923345.0952604834048Nuitka (develop)52352176549.0480769230769345.1672805647894Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks Construct CallUncompiledFunctionComplexArgs 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)7408779388.95192307692307257.0CPython 3.1141123932242.31730769230768366.9489789015996Nuitka (main)41108901395.6826923076923366.99911389949534Nuitka (develop)41108987549.0480769230769366.99882705165953Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks Construct CallUncompiledFunctionComplexArgs 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)7974163488.95192307692307257.0CPython 3.1045507637242.31730769230768363.0894655805138Nuitka (main)45557569395.6826923076923362.9347287791006Nuitka (develop)45557700549.0480769230769362.9343228165719Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks Construct CallUncompiledFunctionComplexArgs 001000000010000000200000002000000030000000300000004000000040000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)4883984788.95192307692307257.0CPython 2.740960520242.31730769230768296.86709708806796Nuitka (main)40957305395.6826923076923296.88336405060653Nuitka (develop)40951953549.0480769230769296.9104436100175Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks

Source Code with Construct

    # Force a frame for now.
    args = a

    # construct_begin
    python_f(3, *args)
    # construct_alternative



    return python_f, args


for x in itertools.repeat(None, 50000):
    calledRepeatedly(python_func)

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Source Code without Construct

    # Force a frame for now.
    args = a

    # construct_begin

    # construct_alternative
    pass
    # construct_end

    return python_f, args


for x in itertools.repeat(None, 50000):
    calledRepeatedly(python_func)

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.