borisstoyanov commented on PR #129:
URL:
https://github.com/apache/cloudstack-cloudmonkey/pull/129#issuecomment-1523100083
There seems to be a bit of performance improvement, but I don't think it's
worth risking, since it does require more testing.
```
➜ cloudstack-cloudmonkey git:(optimize-nw) time ./bin/cmk sync
Discovered 624 APIs
./bin/cmk sync 0.23s user 0.03s system 19% cpu 1.291 total
➜ cloudstack-cloudmonkey git:(optimize-nw) time ./bin/cmk deploy
virtualmachine zoneid=dc7c3d06-3495-4dfd-b8a5-793e4d269de3
templateid=ce8e5b85-e347-11ed-b67b-1e009d000109
serviceofferingid=1b2f3aae-0b5f-4aea-ac11-5c1f3c8e6be9
networkids=60c0f051-444e-429f-8cae-5bfa3a59913d
{
....
}
}
./bin/cmk deploy virtualmachine zoneid=dc7c3d06-3495-4dfd-b8a5-793e4d269de3
0.10s user 0.02s system 0% cpu 20.179 total
```
vs old way
```
[root@ref-trl-4827-v-M7-boris-stoyanov-mgmt1 ~]# time cmk sync
Discovered 624 APIs
real 0m1.352s
user 0m0.269s
sys 0m0.039s
[root@ref-trl-4827-v-M7-boris-stoyanov-mgmt1 ~]# time cmk deploy
virtualmachine zoneid=dc7c3d06-3495-4dfd-b8a5-793e4d269de3
templateid=ce8e5b85-e347-11ed-b67b-1e009d000109
serviceofferingid=1b2f3aae-0b5f-4aea-ac11-5c1f3c8e6be9
networkids=60c0f051-444e-429f-8cae-5bfa3a59913d
{
......
}
}
real 0m22.197s
user 0m0.122s
sys 0m0.026s
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]