Construct CallUncompiledFunctionComplexArgs

Performance Diagrams

Construct CallUncompiledFunctionComplexArgs 0010000000100000002000000020000000300000003000000040000000400000005000000050000000600000006000000070000000700000008000000080000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)8139152288.95192307692307257.0CPython 3.1252768365242.31730769230768343.90367592538126Nuitka (main)52769240395.6826923076923343.90101931009474Nuitka (develop)52769240549.0480769230769343.90101931009474Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks Construct CallUncompiledFunctionComplexArgs 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)7408779388.95192307692307257.0CPython 3.1141106018242.31730769230768367.0087299728725Nuitka (main)41098240395.6826923076923367.0346730248074Nuitka (develop)41098001549.0480769230769367.03547019495556Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks Construct CallUncompiledFunctionComplexArgs 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)7974163488.95192307692307257.0CPython 3.1045508655242.31730769230768363.0863108488019Nuitka (main)45509093395.6826923076923363.0849535084386Nuitka (develop)45509232549.0480769230769363.084522754305Nuitka (factory)Construct CallUncompiledFunctionComplexArgsTicks Construct CallUncompiledFunctionComplexArgs 001000000010000000200000002000000030000000300000004000000040000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)4883984788.95192307692307257.0CPython 2.740954344242.31730769230768296.89834584720893Nuitka (main)40954337395.6826923076923296.8983812651678Nuitka (develop)40954337549.0480769230769296.8983812651678Nuitka (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.