> Because I am doing much operating systems work at the shell, this may be
> "most of what I do". :( Note that often lua is chosen in close-to-the-OS
> situations.
I'm really not sure *why* there's such a performance hit in some
libraries, and it probably varies from one library to the next.
Obv
On 8/31/16 5:03 PM, Tim wrote:
> Python tends to be *very* fast.
>
> Right up until you try to interact with a C/C++ library.
Interesting. I was briefly thinking that this would be the solution to
many performance issues: Start feeding responsibilities over to
components in C/C++.
> Basically,
> Useful was never the question. Perfomant, your mileage may vary.
Python tends to be *very* fast.
Right up until you try to interact with a C/C++ library.
Basically, any time Python executes native libraries (e.g. sqlite,
libssl, whatever) to do something, there's a big performance hit on
t
On 8/31/16 11:44 AM, Seth Alford wrote:
> Please don't conflate Python and Ansible. I've found Python to be quite
> useful. I have had problems with Ansible, however.
Useful was never the question. Perfomant, your mileage may vary.
I am working with project where everyone is love with Python, r
Please don't conflate Python and Ansible. I've found Python to be quite
useful. I have had problems with Ansible, however.
--Seth
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug
I suspect that here maybe something fishy on your side somewhere ...
Did you try: -v, --verbose --> verbose mode (-vvv for more, - to
enable connection debugging)
On x250 laptop:
$ time -p ansible localhost -m shell -a 'echo helloworld'
localhost | success | rc=0 >>
helloworld
real 0.24
user
For comparison on a small Digital Ocean instance (512MB):
$ time -p ansible localhost -m shell -a 'echo helloworld'
localhost | SUCCESS | rc=0 >>
helloworld
real 0.62
user 0.45
sys 0.16
$ ansible --version
ansible 2.1.0.0
config file = /etc/ansible/ansible.cfg
configured module search path =
(just keeps waiting)
So, I tried Ansible and found that, quite remarkably, it can run "echo
hello world" on localhost in between 8 and 10 seconds, spiking my disk
at 60% load:
/usr/bin/time -h ansible localhost -m shell -a 'echo helloworld'
8.09s real...
Seriously?
Anyone else been burned b