Construct TupleCreation

Performance Diagrams

Construct TupleCreation 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1699946488.95192307692307257.00000000000006CPython 3.1211599848242.31730769230768335.4923680308617Nuitka (main)11599718395.6826923076923335.4942577963273Nuitka (develop)11599718549.0480769230769335.4942577963273Nuitka (factory)Construct TupleCreationTicks Construct TupleCreation 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000130000001300000014000000140000001500000015000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)1594013488.95192307692307257.0CPython 3.1110200175242.31730769230768345.9849593461096Nuitka (main)10199890395.6826923076923345.9893776204236Nuitka (develop)10199890549.0480769230769345.9893776204236Nuitka (factory)Construct TupleCreationTicks Construct TupleCreation 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1904044988.95192307692307257.0CPython 3.1010149794242.31730769230768372.3868603522791Nuitka (main)10150228395.6826923076923372.38122770795843Nuitka (develop)10150228549.0480769230769372.38122770795843Nuitka (factory)Construct TupleCreationTicks Construct TupleCreation 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1764802188.95192307692307257.0CPython 2.78400139242.31730769230768386.49292826134405Nuitka (main)8400139395.6826923076923386.49292826134405Nuitka (develop)8400139549.0480769230769386.49292826134405Nuitka (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.