Construct CallCompiledFunctionPosKwArgsVariable

Performance Diagrams

Construct CallCompiledFunctionPosKwArgsVariable 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)16624920988.11538461538461257.0CPython 3.1298338514240.03846153846155357.9435029217076Nuitka (main)98581942391.96153846153845357.58166779354076Nuitka (develop)99033479543.8846153846154356.9104962427451Nuitka (factory)Construct CallCompiledFunctionPosKwArgsVariableTicks Construct CallCompiledFunctionPosKwArgsVariable 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)16478077688.11538461538461257.00000000000006CPython 3.1194653716240.03846153846155362.16685152548473Nuitka (main)94999480391.96153846153845361.64832256888997Nuitka (develop)94849481543.8846153846154361.8732702932345Nuitka (factory)Construct CallCompiledFunctionPosKwArgsVariableTicks Construct CallCompiledFunctionPosKwArgsVariable 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)22445542988.11538461538461257.0CPython 3.1094503461240.03846153846155400.0713023824706Nuitka (main)94903616391.96153846153845399.63074963143526Nuitka (develop)94753853543.8846153846154399.79563199365316Nuitka (factory)Construct CallCompiledFunctionPosKwArgsVariableTicks Construct CallCompiledFunctionPosKwArgsVariable 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)22365527588.11538461538461257.0CPython 2.780951940240.03846153846155414.6720670434582Nuitka (main)80451761391.96153846153845415.2247118490034Nuitka (develop)80451789543.8846153846154415.22468091196976Nuitka (factory)Construct CallCompiledFunctionPosKwArgsVariableTicks

Source Code with Construct

    c = getUnknownValue()
    d = getUnknownValue()
    e = getUnknownValue()
    f = getUnknownValue()

    compiled_f = compiled_func

    # This is supposed to make a call to a compiled function, which is
    # being optimized separately.
    # construct_begin
    compiled_f(a, b, c, d=d, e=e, f=f)
    compiled_f(a, c, b, d=d, e=e, f=f)
    compiled_f(a, b, c, d=d, e=e, f=f)
    # construct_alternative



    return compiled_f


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

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

    c = getUnknownValue()
    d = getUnknownValue()
    e = getUnknownValue()
    f = getUnknownValue()

    compiled_f = compiled_func

    # This is supposed to make a call to a compiled function, which is
    # being optimized separately.
    # construct_begin



    # construct_alternative
    pass
    # construct_end

    return compiled_f


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

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.