Construct LoopManualIntegersIncrements

Performance Diagrams

Construct LoopManualIntegersIncrements 0040000000400000008000000080000000120000000120000000160000000160000000200000000200000000240000000240000000280000000280000000320000000320000000360000000360000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)38414996688.11538461538461257.0CPython 3.12232927551240.03846153846155354.2781167581629Nuitka (main)279517200391.96153846153845324.30800078597827Nuitka (develop)279517250543.8846153846154324.3079686220571Nuitka (factory)Construct LoopManualIntegersIncrementsTicks Construct LoopManualIntegersIncrements 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000240000000240000000260000000260000000280000000280000000300000000300000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)31235342788.11538461538461257.00000000000006CPython 3.11179567242240.03846153846155362.052502522678Nuitka (main)162759200391.96153846153845375.3500219491626Nuitka (develop)162759330543.8846153846154375.34991910092333Nuitka (factory)Construct LoopManualIntegersIncrementsTicks Construct LoopManualIntegersIncrements 00100000000100000000200000000200000000300000000300000000400000000400000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)49966663988.11538461538461257.0CPython 3.10176771899240.03846153846155416.69098522381967Nuitka (main)159963900391.96153846153845425.00355767374856Nuitka (develop)159963947543.8846153846154425.0035344294049Nuitka (factory)Construct LoopManualIntegersIncrementsTicks Construct LoopManualIntegersIncrements 0040000000400000008000000080000000120000000120000000160000000160000000200000000200000000240000000240000000280000000280000000320000000320000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)33363974088.11538461538461257.0CPython 2.752918415240.03846153846155464.92054986350064Nuitka (main)50918466391.96153846153845466.4018427285117Nuitka (develop)50918466543.8846153846154466.4018427285117Nuitka (factory)Construct LoopManualIntegersIncrementsTicks

Source Code with Construct

            i = i + 1
            # NUITKA_ILONG_CLONG_VALID

        # The flag NUITKA_INT_OBJECT_VALID is not set, need to create the object
        # pointer and return it.
        return i


for x in itertools.repeat(None, 50):
    # construct_begin
    calledRepeatedly(True)
    # construct_alternative



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

            i = i + 1
            # NUITKA_ILONG_CLONG_VALID

        # The flag NUITKA_INT_OBJECT_VALID is not set, need to create the object
        # pointer and return it.
        return i


for x in itertools.repeat(None, 50):
    # construct_begin

    # construct_alternative
    calledRepeatedly(False)
    # construct_end

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.