Jump to content
Sign in to follow this  
oldbrokenlink

need volunteers to help me identify performance bottlenecks!

3 posts in this topic Last Reply

Recommended Posts

good news everybody i got the cities xl lua profiler up and running and i need a group of volunteers to help me identify performance bottlenecks!

if interested please pm me!

all you have to do is follow some simple instructions to install the profiler

then just play the game as you normally would

finally periodically send me the profiler information generated

with this information we will be able to get a clearer picture of where exactly are the performance issues

with this information modders, such as myself, will be able to hopefully make future improvements to the game.

Share this post


Link to post
Share on other sites
  • Original Poster
  • ok the first release of the cities xl profiler is now available

     

    and just so that everyone knows it uses the Pepperfish Profiler
    http://lua-users.org/wiki/PepperfishProfiler

    the release was developed and tested with cities xl platinum, but it should also work with cities xl 2012.

    this release will focus on just doing a quick 5 minute test. its a good way for you to become familiar with how to install and use the profiler. and its a good way for us to make sure the profiler is running and to collect initial test data that we will analyze and use to fine tune the profiler for the real test.

    so, if your still interested in helping out just download this file

    http://dl.dropbox.com/u/87007051/cxl/cxl_profiler/1.0.0.0%2004202013/zzzzzz_cxl_profiler.patch

    and copy it to

    C:\Program Files (x86)\Steam\steamapps\common\Cities XL Platinum\Paks

    then just in case something however unlikely goes wrong backup your existing cities xl folder

    C:\Users\<username>\AppData\Local\Focus Home Interactive\Cities XL 2012

    now before we start, keep in mind the the profiler while it is running from the time you click on "&Profile Time" or "&Profile Call" to the time when you stop it by pressing "&Profile Stop" consumes memory and if you play with the profiler running for too long your game will eventually crash with an out of memory!

    now we are ready to start the game and open some small map that we can use to verify that the profiler is working or create a new one

    once the existing map is open or a new one created click on "Main Menu" button, the one on the top left with the capital 'XL' and then click on the "Menu" button. Once the menu is opened click on "&Profiler" button and that will bring up the profiler menu. Once the profiler menu is opened click on "&Profile Time" and then click on the "Back" button and finally the "Resume" button.

    well there you have it the profiler is up and running and profiling for function times! now play around the map for around 5 minutes.

    then click on "Main Menu" button, the one on the top left with the capital 'XL' and then click on the "Menu" button. Once the menu is opened click on "&Profiler" button and that will bring up the profiler menu. Once the profiler menu is opened click on "&Profile Stop" and then wait profiler to write the timing information it captured and when its done you will see the  "&Profile Stop" button deselected.

    now click on "&Profile Call" and then click on the "Back" button and finally the "Resume" button.

    well there you have it the profiler is up and running again and profiling for function calls! now play around the map for around 5 minutes.

    then click on "Main Menu" button, the one on the top left with the capital 'XL' and then click on the "Menu" button. Once the menu is opened click on "&Profiler" button and that will bring up the profiler menu. Once the profiler menu is opened click on "&Profile Stop" and then wait profiler to write the calling information it captured and when its done you will see the  "&Profile Stop" button deselected.

    when you are done exit the game as you would normally do.

    then after exiting the game go to

    C:\Users\<username>\AppData\Local\Focus Home Interactive\Cities XL 2012\log

    and look for files named

    cxl_profiler_time_<timestamp>.log
    cxl_profiler_call_<timestamp>.log


    if you like you can open them in a text editor and see all the timing and calling information the profiler captured

    please upload them somewhere and PM me with a link to those files.

    once u are all done you can delete the

    C:\Program Files (x86)\Steam\steamapps\common\Cities XL Platinum\Paks\zzzzzz_cxl_profiler.patch

    and the folder

    C:\Users\<username>\AppData\Local\Focus Home Interactive\Cities XL 2012

    which you created for testing and restore your original

    C:\Users\<username>\AppData\Local\Focus Home Interactive\Cities XL 2012

    folder

    if you did not back your

    C:\Users\<username>\AppData\Local\Focus Home Interactive\Cities XL 2012

    folder, then dont delete the folder you will lose all your configuration and maps

    finally, thank you for taking the time to help test and improve the profiler. in time we hope to use it for a more comprehensive test to learn where exactly cities xl is bogging down in hopes of someday down the road making it better!
     

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Help Keep Simtropolis Online, Open & Free!

    stexcollection-header.png

    Would you be able to help us catch up after a bit of a shortfall?

    We had a small shortfall last month. Your donation today would help us catch up for this month.

    Make a Donation, Get a Gift!

    We need to continue to raise enough money each month to pay for expenses which includes hardware, bandwidth, software licenses, support licenses and other necessary 3rd party costs.

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections