Construct ListContraction

Performance Diagrams

Construct ListContraction 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)12445562388.11538461538461257.0CPython 3.1276051738240.03846153846155353.10931487325286Nuitka (main)74249471391.96153846153845356.6878426420192Nuitka (develop)74235350543.8846153846154356.7158808797624Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)17182648688.11538461538461257.0CPython 3.1166999363240.03846153846155407.75903268061495Nuitka (main)65508545391.96153846153845409.903079690117Nuitka (develop)65499798543.8846153846154409.91565934718585Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)20409533488.11538461538461257.0CPython 3.1067051944240.03846153846155422.92995716818376Nuitka (main)65701973391.96153846153845424.56448058597346Nuitka (develop)65702290543.8846153846154424.5640967674148Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)21208275088.11538461538461257.0CPython 3.867102100240.03846153846155425.9291047317072Nuitka (main)67102168391.96153846153845425.9290254992087Nuitka (develop)65702493543.8846153846154427.5599041348429Nuitka (factory)Construct ListContractionTicks Construct ListContraction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)17125168888.11538461538461257.0CPython 2.759158514240.03846153846155418.7499256752975Nuitka (main)57558061391.96153846153845421.05937186688095Nuitka (develop)57558125543.8846153846154421.0592795151804Nuitka (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.