Construct InplaceOperationStringAdd

Performance Diagrams

Construct InplaceOperationStringAdd 0040000004000000800000080000001200000012000000160000001600000020000000200000002400000024000000280000002800000032000000320000003600000036000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)3261943088.95192307692307295.8811299649511CPython 3.1238710072242.31730769230768257.0Nuitka (main)38709840395.6826923076923257.00148102977516Nuitka (develop)38709948549.0480769230769257.00079158487983Nuitka (factory)Construct InplaceOperationStringAddTicks Construct InplaceOperationStringAdd 001000000010000000200000002000000030000000300000004000000040000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)4474647088.95192307692307257.0CPython 3.1138070644242.31730769230768293.8676972645079Nuitka (main)38070212395.6826923076923293.8700830135101Nuitka (develop)38080142549.0480769230769293.8152439218626Nuitka (factory)Construct InplaceOperationStringAddTicks Construct InplaceOperationStringAdd 0010000000100000002000000020000000300000003000000040000000400000005000000050000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)5249285588.95192307692307257.0CPython 3.1027139989242.31730769230768376.35116184273664Nuitka (main)27140036395.6826923076923376.3509405855184Nuitka (develop)27140117549.0480769230769376.35055926988684Nuitka (factory)Construct InplaceOperationStringAddTicks Construct InplaceOperationStringAdd 001000000010000000200000002000000030000000300000004000000040000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)4764734088.95192307692307257.0CPython 3.839000187242.31730769230768301.8470898779046Nuitka (main)39000049395.6826923076923301.8478055930542Nuitka (develop)38800158549.0480769230769302.88450861459023Nuitka (factory)Construct InplaceOperationStringAddTicks Construct InplaceOperationStringAdd 0010000000100000002000000020000000300000003000000040000000400000005000000050000000600000006000000070000000700000008000000080000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)4265807688.95192307692307383.8480694281493CPython 2.787650207242.31730769230768257.00027629461977Nuitka (main)87650305395.6826923076923257.0Nuitka (develop)87650219549.0480769230769257.0002424626255Nuitka (factory)Construct InplaceOperationStringAddTicks

Source Code with Construct

    s += additiv

    # construct_begin
    s += additiv
    s += additiv
    s += additiv
    s += additiv
    s += additiv
    # construct_end

    # Prevent optimization into direct return.
    s += additiv

    return s


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

    s += additiv

    # construct_begin







    # Prevent optimization into direct return.
    s += additiv

    return s


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