Re: commandine standalone using 100% of core on doing what?

2018-04-06 Thread Tom Glod via use-livecode
Hi Markthanks very much ...I'm going to go report the bug ... its definitely reproducible here. i just need to gather more data that i can give with the report. Dulley noted on the intentions with the httpd library. On Fri, Apr 6, 2018 at 4:14 AM, Mark Waddingham via use-livecode <

Re: commandine standalone using 100% of core on doing what?

2018-04-06 Thread Mark Waddingham via use-livecode
On 2018-04-05 15:27, Tom Glod via use-livecode wrote: Hi folks, I wanted to benchmark the httpd library and decided to create a command line server application. I run it using "-ui" command ... and I use the "on Startup" message to print out a welcome message" thats all I have so far. But

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Tom Glod via use-livecode
great news for me thank you. on top of that I can run 1 of these services on each core listening to a different port. thanks for the links to the benchmarks. On Thu, Apr 5, 2018 at 3:12 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Tom Glod wrote: > > > What

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > What are the chances I will get similar performance using a stack and > httpd to process http requests . as i would using lc server .. > if the performance is similar, i feel more confident building using > this form . i'm not producing HTML code . just passing

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > On 04/05/2018 08:46 AM, Richard Gaskin via use-livecode wrote: > >> You may try running the standalone with strace to see the system >> calls it's making: >> >>strace ./mystandalone > > I don't think strace is on Windows. I'd recommend Process Lasso for > seeing what's

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Tom Glod via use-livecode
What are the chances I will get similar performance using a stack and httpd to process http requests . as i would using lc server .. if the performance is similar, i feel more confident building using this form . i'm not producing HTML code . just passing encrypted arrays back and

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Tom Glod via use-livecode
it was my goal to benchmark httpd ..but didn't get that far since it maxed out the cpu and didn't let up...then i took out httpd..still did that...and thats how i got to testing an entirely blank new stack. must be a windows thing. i will be running it on digital ocean ubuntu...so i',m

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > hi richard... the standalone opens fine when i don't use the -UI > parameter. it opens up the blank stack and does nothingas its > supposed to since there is no code anywhere doing anything. no library > was modified...or even used. If you're not using any libraries

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Tom Glod via use-livecode
thanks for those tools Mark. I just tested it again on a plain blank stack . make standalone .run with -ui flag .and its using going full tiltmaybe you can reproduce it? On Thu, Apr 5, 2018 at 12:16 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Mark Wieder via use-livecode
On 04/05/2018 08:46 AM, Richard Gaskin via use-livecode wrote: You may try running the standalone with strace to see the system calls it's making:   strace ./mystandalone I don't think strace is on Windows. I'd recommend Process Lasso for seeing what's going on. https://bitsum.com/ But

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Tom Glod via use-livecode
hi richard... the standalone opens fine when i don't use the -UI parameter. it opens up the blank stack and does nothingas its supposed to since there is no code anywhere doing anything. no library was modified...or even used. its a blank stack. the -ui flag puts it into the loop. I

Re: commandine standalone using 100% of core on doing what?

2018-04-05 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Hi folks, I wanted to benchmark the httpd library and decided to > create a command line server application. > > I run it using "-ui" command ... > > and I use the "on Startup" message to print out a welcome message" > > thats all I have so far. > > But my executable process is

commandine standalone using 100% of core on doing what?

2018-04-05 Thread Tom Glod via use-livecode
Hi folks, I wanted to benchmark the httpd library and decided to create a command line server application. I run it using "-ui" command ... and I use the "on Startup" message to print out a welcome message" thats all I have so far. But my executable process is using up 100% of the core .