Construct TupleCreation

Performance Diagrams

Construct TupleCreation 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1699945488.95192307692307257.0CPython 3.1211649963242.31730769230768334.7637638221521Nuitka (main)11649963395.6826923076923334.7637638221521Nuitka (develop)11649648549.0480769230769334.76834287193526Nuitka (factory)Construct TupleCreationTicks Construct TupleCreation 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000130000001300000014000000140000001500000015000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)1594028188.95192307692307257.0CPython 3.119999965242.31730769230768349.0901879381501Nuitka (main)9999965395.6826923076923349.0901879381501Nuitka (develop)9999813549.0480769230769349.092544329387Nuitka (factory)Construct TupleCreationTicks Construct TupleCreation 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1904059288.95192307692307257.0CPython 3.109950065242.31730769230768374.98000167019694Nuitka (main)9950065395.6826923076923374.98000167019694Nuitka (develop)9849989549.0480769230769376.2788225908264Nuitka (factory)Construct TupleCreationTicks Construct TupleCreation 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1764801788.95192307692307257.0CPython 2.78450144242.31730769230768385.792709347371Nuitka (main)8450144395.6826923076923385.792709347371Nuitka (develop)8450144549.0480769230769385.792709347371Nuitka (factory)Construct TupleCreationTicks

Source Code with Construct

for x in itertools.repeat(None, 50000):
    calledRepeatedly(module_value1)

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(module_value1)

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.