Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: el84 on May 28, 2002, 10:39:32 pm

Title: Test mission wanted
Post by: el84 on May 28, 2002, 10:39:32 pm
I’d make this myself, but I don’t know Fred at all. And I’d rather spend my time working with the source code, and not learning Fred. So…

I think we developers will soon need a mission to use for benchmarks. I am interested in measuring the performance difference between MSVC/GCC, and with different compiler switches.



Programmers: Freespace.cpp, starting at line 647, comment appropriate lines such that Show_framerate is always 1. Gives framerate info on the top of your screen when ingame.
Title: Test mission wanted
Post by: Unknown Target on May 29, 2002, 11:01:20 am
Though art not a Freespace MODer lest ye know how to FRED.-myself;)
Title: Test mission wanted
Post by: Inquisitor on May 29, 2002, 12:00:38 pm
I think that's a reasonable request, though. This is a group effort afterall.
Title: Test mission wanted
Post by: QuantumDelta on May 29, 2002, 12:14:37 pm
What kind of limits do you want tested?
Destroyers/cruisers
Fighters?

I know roughly where Fred2's limits are in ways of bigger ships, but the FS2 Game Engine never seemed to handle as much as Fred2 could.

What exactly are you after?

I mean, I can make it unmovable and stuff, but are you after lots of little fighters making lots of polygons on a small scale? or big caps? do you want backgrounds?

Jus' tryin to get a better idea.
Title: Test mission wanted
Post by: Stargazer_2098 on May 29, 2002, 12:16:41 pm
Now this sounds like fun.
The only thing needed is placing Alpha 1 in the middle of a lot of Lucifers, Sathanans, Destroyers, and all the other ships and fighters in the game just for good mesure.
The mission wont last longer then about 5 secounds, if you are lucky... :lol:  ;7

hehehe, I actually tried that once. Survived for about 12 secounds before being blasted sky-high. For not to talk about the very low frame-rates....



Stargazer.
Title: Test mission wanted
Post by: CP5670 on May 29, 2002, 12:25:01 pm
I suppose I could do this, but I will need a bit more information on what you exactly want in the mission.
Title: Test mission wanted
Post by: el84 on May 29, 2002, 01:07:01 pm
A giant battle might be best to test overall FS2 performance, but I am somewhat concerned that a Battle of Endor mission would not provide repeatable results. The AI decisions will always be somewhat random. Only way to determine how this will skew the results is have the mission and try it numerous times. Oh, the player ship better be cloaked, disabled, and not too close to the action. Else, it will be an awfully short test.

An idea for a mission that should eliminate the random AI ‘factor’: At regular intervals, say once every ten seconds, a large battle group warps in. Each group follows a waypoint for about twenty seconds, then warps out. No ‘dancing’ or colliding caps, please. At any point in time, there would be two battle groups on screen. All ships are friendly. Of course, without weapon fire, there is no way to determine performance impact of weapon handling code changes, special weapon effects, etc. Still, it would provide a good gauge of basic engine performance (lots of polygons and textures to render, and the warp in/out exercises the ani code).

Maybe one of each?

Oh, important: Either mission should end at a set time (is there a mission-end SEXP?). Again, repeatability is the most important thing here.

To get a meaningful benchmark, it will be necessary to add a little code that calculates the average framerate for the entire mission. Easy to do (most of my real-world software/hardware designs include data acquisition and signal processing).
Title: Test mission wanted
Post by: IceFire on May 29, 2002, 02:17:25 pm
Quote
is there a mission-end SEXP?

Avenger made one with the source code.
Title: Test mission wanted
Post by: vadar_1 on May 29, 2002, 02:35:14 pm
Quote
Originally posted by IceFire

Avenger made one with the source code.


well without getting another executable... just use red-alert
Title: Test mission wanted
Post by: LtNarol on May 29, 2002, 02:37:34 pm
*cough* has-time-elaspsed -> redalert *cough*

:D

EDIT: Damn, he beat me to it...:p