Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-05-01 Thread Jim Davidson
In a message dated 4/30/2001 8:58:36 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: On 2001.04.30, Jim Davidson [EMAIL PROTECTED] wrote: [ ... ns_stats, command traces, nsd/tclstats.c, etc. ... ] I removed this from 4.x because it was being used much and requred an undocumented,

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-29 Thread Dossy
On 2001.04.29, carl garland [EMAIL PROTECTED] wrote: Great presentation! Clearly, I haven't looked at the UrlTracking config. option -- it's not even in my config. file so I don't think I ever would have known about it. Thanks and oops, the UrlTracking config param was just another

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-29 Thread Mike Hoegeman
I guess I could start with what you've done, clean up the code, and start looking at what kind of hooks I'd need in order to get the Tcl interpreter to log the same kind of information about indivual proc calls (perhaps even including ALL proc calls) -- using an nsv is a great idea that I

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-29 Thread Jim Wilcoxson
At least on Linux, puts is thread-safe if the -nonewline option is used. I ran tests and used it for a URL logging feature we developed - worked great. So instead of puts $string, do puts -nonewline $string\n JIm I guess I could start with what you've done, clean up the code, and start

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread Jerry Asher
At 03:36 PM 4/28/01 -0400, you wrote: I'd like to conduct a quick informal poll. What are the top 10 most commonly used ns_* API calls that you use? Responses to the list, or directly to me, are fine. - Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread Patrick Spence
- Original Message - From: Dossy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 28, 2001 12:36 PM Subject: [AOLSERVER] What parts of the ns_* API do you use the most? I'd like to conduct a quick informal poll. What are the top 10 most commonly used ns_* API calls

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread Rob Mayoff
I'd like to conduct a quick informal poll. What are the top 10 most commonly used ns_* API calls that you use? Do you mean at authoring time or execution time?

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread Jim Wilcoxson
Here's a complete list of the ones we use. I should mention that we usually use ns_db via a wrapper; it's easily in the top 10. Not sure how useful this is, since it is a static analysis of source rather than a dynamic analysis of which routines are actually used the most. Is there a way to

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread Dossy
On 2001.04.28, Rob Mayoff [EMAIL PROTECTED] wrote: I'd like to conduct a quick informal poll. What are the top 10 most commonly used ns_* API calls that you use? Do you mean at authoring time or execution time? Execution time, I guess. Pretend nsd had a profiling mode that kept track of

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread Jim Wilcoxson
The script I used is below. It's a crappy TCL reader we wrote for a specific purpose and doesn't work quite right - doesn't handle strings correctly, probably other stuff. We don't use nsv_ routines - still on 2.3.3. Personally, I don't like the nsv_ interface. With ns_share, a variable is a

Re: [AOLSERVER] What parts of the ns_* API do you use the most?

2001-04-28 Thread carl garland
Here are my results ... you know you can get a list of the actual runtime tcl commands ... including ns_ if you have tclstats on in your config dir. ns_browsermatch 1 ns_cp 1 ns_dateentrywidget 1 ns_findrowbyid 1 ns_http_read 1 ns_localsqldate 1 ns_logroll 1