Construct LoopManualIntegersIncrements

Performance Diagrams

Construct LoopManualIntegersIncrements 0040000000400000008000000080000000120000000120000000160000000160000000200000000200000000240000000240000000280000000280000000320000000320000000360000000360000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)38414996688.11538461538461257.0CPython 3.12232927550240.03846153846155354.27811740144136Nuitka (main)232927551391.96153846153845354.2781167581629Nuitka (develop)232927551543.8846153846154354.2781167581629Nuitka (factory)Construct LoopManualIntegersIncrementsTicks Construct LoopManualIntegersIncrements 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000240000000240000000260000000260000000280000000280000000300000000300000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)31235342788.11538461538461257.00000000000006CPython 3.11179567200240.03846153846155362.0525357505707Nuitka (main)179567155391.96153846153845362.05257135188435Nuitka (develop)179567155543.8846153846154362.05257135188435Nuitka (factory)Construct LoopManualIntegersIncrementsTicks Construct LoopManualIntegersIncrements 00100000000100000000200000000200000000300000000300000000400000000400000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)49966663988.11538461538461257.0CPython 3.10176771900240.03846153846155416.6909847292591Nuitka (main)176771899391.96153846153845416.69098522381967Nuitka (develop)176771899543.8846153846154416.69098522381967Nuitka (factory)Construct LoopManualIntegersIncrementsTicks Construct LoopManualIntegersIncrements 0040000000400000008000000080000000120000000120000000160000000160000000200000000200000000240000000240000000280000000280000000320000000320000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)33363974088.11538461538461257.0CPython 2.752918416240.03846153846155464.9205491228353Nuitka (main)52918415391.96153846153845464.92054986350064Nuitka (develop)52918415543.8846153846154464.92054986350064Nuitka (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.