Construct BuiltinSumWithTuple

Performance Diagrams

Construct BuiltinSumWithTuple 001000000100000020000002000000300000030000004000000400000050000005000000600000060000007000000700000080000008000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)616879489.78846153846155331.86635614950023CPython 3.128850000244.59615384615387257.0Nuitka (main)8850000399.4038461538462257.0Nuitka (develop)8850000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)553936889.78846153846155325.8780078125CPython 3.117680000244.59615384615387257.0Nuitka (main)7680000399.4038461538462257.0Nuitka (develop)7680000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 0010000001000000200000020000003000000300000040000004000000500000050000006000000600000070000007000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)633881489.78846153846155300.15464768629806CPython 3.107680000244.59615384615387257.0Nuitka (main)7680000399.4038461538462257.0Nuitka (develop)7680000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks Construct BuiltinSumWithTuple 001000000100000020000002000000300000030000004000000400000050000005000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)329879489.78846153846155358.8065168654875CPython 2.75610000244.59615384615387257.0Nuitka (main)5610000399.4038461538462257.0Nuitka (develop)5610000554.2115384615385257.0Nuitka (factory)Construct BuiltinSumWithTupleTicks

Source Code with Construct

    return x, y


for x in itertools.repeat(None, 10000):
    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, 10000):
    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.