Construct CallCompiledClassCreationPosArgsConstant6

Performance Diagrams

Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)7737061888.11538461538461335.02324843484996CPython 3.12113071314240.03846153846155257.0Nuitka (main)113044855391.96153846153845257.0578256830158Nuitka (develop)113044855543.8846153846154257.0578256830158Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)6918354388.95192307692307315.75988717358837CPython 3.1190748256242.31730769230768257.04892690512435Nuitka (main)90766227395.6826923076923257.0Nuitka (develop)90766227549.0480769230769257.0Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)13955785688.11538461538461257.0CPython 3.1086224910240.03846153846155351.43675792397914Nuitka (main)86224423391.96153846153845351.4376202558876Nuitka (develop)86224423543.8846153846154351.4376202558876Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks Construct CallCompiledClassCreationPosArgsConstant6 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000140000000140000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)14128640388.11538461538461257.0CPython 2.786792271240.03846153846155352.3123450135647Nuitka (main)86792213391.96153846153845352.31244645780845Nuitka (develop)86792213543.8846153846154352.31244645780845Nuitka (factory)Construct CallCompiledClassCreationPosArgsConstant6Ticks

Source Code with Construct

    # Avoid module variable access speed to play a role
    local_C = C

    # This is supposed to make a call to a compiled method, which is
    # being optimized separately.
    # construct_begin
    x1 = local_C("some", "random", "values", "to", "check", "call")
    x2 = local_C("some", "other", "values", "to", "check", "call")
    x3 = local_C("some", "new", "values", "to", "check", "call")
    # construct_end


for x in itertools.repeat(None, 10000):
    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

    # Avoid module variable access speed to play a role
    local_C = C

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






for x in itertools.repeat(None, 10000):
    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.