Construct BuiltinSumWithList

Performance Diagrams

Construct BuiltinSumWithList 0040000004000000800000080000001200000012000000160000001600000020000000200000002400000024000000280000002800000032000000320000003600000036000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)2739888088.95192307692307331.833329418673CPython 3.1238800000242.31730769230768260.1439616363281Nuitka (main)39300000395.6826923076923257.0Nuitka (develop)39300000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 004000000400000080000008000000120000001200000016000000160000002000000020000000240000002400000028000000280000003200000032000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2234884988.95192307692307346.3226870054945CPython 3.1132500000242.31730769230768274.6510989010989Nuitka (main)35000000395.6826923076923257.0Nuitka (develop)35000000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 004000000400000080000008000000120000001200000016000000160000002000000020000000240000002400000028000000280000003200000032000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)2869936788.95192307692307301.485238489011CPython 3.1032500000242.31730769230768274.6510989010989Nuitka (main)35000000395.6826923076923257.0Nuitka (develop)35000000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 004000000400000080000008000000120000001200000016000000160000002000000020000000240000002400000028000000280000003200000032000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)2719909988.95192307692307312.07779002747253CPython 3.822050000242.31730769230768348.4326923076923Nuitka (main)22050000395.6826923076923348.4326923076923Nuitka (develop)35000000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 002000000200000040000004000000600000060000008000000800000010000000100000001200000012000000140000001400000016000000160000001800000018000000200000002000000022000000220000002400000024000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1974860188.95192307692307310.84080514089874CPython 2.725250000242.31730769230768257.0Nuitka (main)25250000395.6826923076923257.0Nuitka (develop)25250000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks

Source Code with Construct

    return x, y


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

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

    y = sum(empty)
    # construct_end

    return x, y


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

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.