Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Pages: 1 [2]  All

Author Topic: perfomance issues  (Read 10597 times)

0 Members and 1 Guest are viewing this topic.

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: perfomance issues
« Reply #15 on: September 23, 2009, 02:02:40 PM »

thanks. i'll see what i can find.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: perfomance issues
« Reply #16 on: September 23, 2009, 02:03:33 PM »

And no, there's no dump for scripts. You probably mean the texture stats.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: perfomance issues
« Reply #17 on: September 23, 2009, 02:04:25 PM »

But I agree some kind of simple script profiler would be a nice feature to have.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: perfomance issues
« Reply #18 on: September 23, 2009, 02:53:26 PM »

please add to the feature request list for WME 2 ;)
Logged

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: perfomance issues
« Reply #19 on: September 26, 2009, 05:33:09 AM »

i just looked at the scripts in the debugged, NONE are green. There are two who are in a wait state, and those are the deamons, one for hints with Sleep (100)
and the game_Deamon.script with Sleep(20)
Logged

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: perfomance issues
« Reply #20 on: September 26, 2009, 05:44:54 AM »

i just added some debug lines to see if it is the game_daemon, and no.

       Game.Msg("End " + Game.WindowsTime + " total " + (Game.WindowsTime  - this.StartTime)); 
   
   Sleep(20);
   this.StartTime = Game.WindowsTime;
   Game.Msg("Start " +Game.WindowsTime);

i get totals of 0-1 (sometimes 2)
for some reason the time displays is a huge negtive one, but that's probably before the INT has passed its half and its 2 complement
Logged

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: perfomance issues
« Reply #21 on: September 28, 2009, 11:57:33 PM »

mnemonic, any ideas how to find out the the running scripts,if nothing is green in the debugger?
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: perfomance issues
« Reply #22 on: September 29, 2009, 08:37:36 AM »

Check wme 1.9beta. I'm sure you'll find the 2 new methods for gathering script execution time statistics very useful.
Logged
fl*p
Pages: 1 [2]  All
 

Page created in 0.045 seconds with 20 queries.