Construct ListContraction

Performance Diagrams

Construct ListContraction 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)11830125188.11538461538461257.0CPython 3.1278046724240.03846153846155341.08628681462875Nuitka (main)88403913391.96153846153845319.4515135418657Nuitka (develop)88403913543.8846153846154319.4515135418657Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)17309068988.11538461538461257.0CPython 3.1169550962240.03846153846155404.81996425340316Nuitka (main)68805134391.96153846153845405.88475620808146Nuitka (develop)68805134543.8846153846154405.88475620808146Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)21169871388.11538461538461257.0CPython 3.1068450536240.03846153846155424.21324307157073Nuitka (main)69200742391.96153846153845423.3375294613951Nuitka (develop)69200742543.8846153846154423.3375294613951Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)17560687688.11538461538461257.00000000000006CPython 2.762704193240.03846153846155415.8775483578095Nuitka (main)62704013391.96153846153845415.87780165523293Nuitka (develop)62704013543.8846153846154415.87780165523293Nuitka (factory)Construct ListContractionTicks

Source Code with Construct

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

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.