Construct NumpyArrayConstruction

Performance Diagrams

Construct NumpyArrayConstruction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000CPython 3.12Nuitka (main)Nuitka (develop)Nuitka (factory)18963050988.11538461538461261.6237254019638CPython 3.12193195996240.03846153846155257.0643279553542Nuitka (main)193238754391.96153846153845257.0096507917515Nuitka (develop)193246301543.8846153846154257.00000000000006Nuitka (factory)Construct NumpyArrayConstructionTicks Construct NumpyArrayConstruction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 3.11Nuitka (main)Nuitka (develop)Nuitka (factory)16658082188.11538461538461308.720661452834CPython 3.11133731016240.03846153846155347.2525795655366Nuitka (main)183562817391.96153846153845288.8012470373681Nuitka (develop)210674490543.8846153846154257.0Nuitka (factory)Construct NumpyArrayConstructionTicks Construct NumpyArrayConstruction -40000000-400000000040000000400000008000000080000000120000000120000000160000000160000000200000000200000000240000000240000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)-7523836988.11538461538461447.5896806983211CPython 3.1037910328240.03846153846155362.5823921269336Nuitka (main)-37088172391.96153846153845418.92788527849154Nuitka (develop)253683824543.8846153846154200.4742960829365Nuitka (factory)Construct NumpyArrayConstructionTicks Construct NumpyArrayConstruction 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)19545438488.11538461538461257.0CPython 2.7193716037240.03846153846155259.1978135189846Nuitka (main)193656066391.96153846153845259.27363559279786Nuitka (develop)193663392543.8846153846154259.26437324078177Nuitka (factory)Construct NumpyArrayConstructionTicks

Source Code with Construct

    return x


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

    x = numpy.array, numpy.int32
    # construct_end

    return x


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