Construct LoopSmallRange

Performance Diagrams

Construct LoopSmallRange 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)6465582588.95192307692307290.337944097784CPython 3.1273498158242.31730769230768261.101733486531Nuitka (main)74738705395.6826923076923257.0Nuitka (develop)74738705549.0480769230769257.0Nuitka (factory)Construct LoopSmallRangeTicks Construct LoopSmallRange 001000000010000000200000002000000030000000300000004000000040000000500000005000000060000000600000007000000070000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)7733827888.95192307692307257.0CPython 3.1163800210242.31730769230768300.25755586087956Nuitka (main)63800000395.6826923076923300.2582268640634Nuitka (develop)63800000549.0480769230769300.2582268640634Nuitka (factory)Construct LoopSmallRangeTicks Construct LoopSmallRange 0010000000100000002000000020000000300000003000000040000000400000005000000050000000600000006000000070000000700000008000000080000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)8904051288.95192307692307257.0CPython 3.1066950149242.31730769230768318.3076949629227Nuitka (main)66949813395.6826923076923318.30862746844593Nuitka (develop)66949813549.0480769230769318.30862746844593Nuitka (factory)Construct LoopSmallRangeTicks Construct LoopSmallRange 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)10098364488.11538461538461257.0CPython 2.726072287240.03846153846155440.3143275867069Nuitka (main)26072347391.96153846153845440.3141807617113Nuitka (develop)26072347543.8846153846154440.3141807617113Nuitka (factory)Construct LoopSmallRangeTicks

Source Code with Construct

    return x


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

    return x


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.