Construct UnpackIterator

Performance Diagrams

Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000100000001000000011000000110000001200000012000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)1203739688.95192307692307257.0CPython 3.127550172242.31730769230768349.1181030029572Nuitka (main)7549662395.6826923076923349.12857277948973Nuitka (develop)7549662549.0480769230769349.12857277948973Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)1113619088.95192307692307257.0CPython 3.116149839242.31730769230768367.64861906920663Nuitka (main)6150155395.6826923076923367.64160693475685Nuitka (develop)6150155549.0480769230769367.64160693475685Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000800000080000009000000900000010000000100000001100000011000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)1103822888.95192307692307257.0CPython 3.106399490242.31730769230768360.8485094709042Nuitka (main)6400302395.6826923076923360.8303310375264Nuitka (develop)6400302549.0480769230769360.8303310375264Nuitka (factory)Construct UnpackIteratorTicks Construct UnpackIterator 00100000010000002000000200000030000003000000400000040000005000000500000060000006000000700000070000008000000800000090000009000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)974870089.78846153846155257.0CPython 2.75600004244.59615384615387362.16341744974284Nuitka (main)5600004399.4038461538462362.16341744974284Nuitka (develop)5600004554.2115384615385362.16341744974284Nuitka (factory)Construct UnpackIteratorTicks

Source Code with Construct

    return a, b


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

    a = c
    b = c
    # construct_end

    return a, b


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.