Construct BuiltinSumWithList

Performance Diagrams

Construct BuiltinSumWithList 001000000010000000200000002000000030000000300000004000000040000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3134859588.95192307692307345.20830542406316CPython 3.1248750000242.31730769230768257.0Nuitka (main)48750000395.6826923076923257.0Nuitka (develop)48750000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 004000000400000080000008000000120000001200000016000000160000002000000020000000240000002400000028000000280000003200000032000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)2819918888.95192307692307302.1312342251951CPython 3.1134500000242.31730769230768257.0Nuitka (main)34500000395.6826923076923257.0Nuitka (develop)34500000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 004000000400000080000008000000120000001200000016000000160000002000000020000000240000002400000028000000280000003200000032000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)3219889088.95192307692307273.48230964325535CPython 3.1034500000242.31730769230768257.0Nuitka (main)34500000395.6826923076923257.0Nuitka (develop)34500000549.0480769230769257.0Nuitka (factory)Construct BuiltinSumWithListTicks Construct BuiltinSumWithList 00200000020000004000000400000060000006000000800000080000001000000010000000120000001200000014000000140000001600000016000000180000001800000020000000200000002200000022000000240000002400000026000000260000002800000028000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)1809873388.95192307692307354.0323186306143CPython 2.729800000242.31730769230768257.0Nuitka (main)29800000395.6826923076923257.0Nuitka (develop)29800000549.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.