diff options
author | Daniel Alvarez <dalvarez@redhat.com> | 2018-02-28 10:11:09 +0100 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-02-28 13:09:03 -0800 |
commit | eab138764e3aaa9f98a725a4636dd30e2a41a896 (patch) | |
tree | 426e43062d945a39cd52c8be0eb3c93429bc9e1d /.travis.yml | |
parent | 417784dc7e9ceda3b53d464e9567d60a1ec0c456 (diff) | |
download | openvswitch-eab138764e3aaa9f98a725a4636dd30e2a41a896.tar.gz |
python: avoid useless JSON conversion to enhance performance
This patch removes a useless conversion to/from JSON in the
processing of any 'modify' operations inside the process_update2
method in Python IDL implementation.
Previous code will make resources creation take longer as the number
of elements in the row grows because of that JSON conversion. This
patch eliminates it and now the time remains consant regardless
of the database contents improving performance and scaling.
Reported-by: Daniel Alvarez <dalvarez@redhat.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2018-February/046263.html
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
Acked-by: Terry Wilson <twilson@redhat.com>
Tested-By: Terry Wilson <twilson@redhat.com>
Acked-by: Han Zhou <hzhou8@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions