Next Generation Emulation banner

Beating the notepad Round 1

1592 Views 18 Replies 10 Participants Last post by  Cid Highwind
during the development of @ES i´ve been trying to optimize stuff as much as i can.. sadly its not always easy to do that as coding isn´t as easy as many people probably think.

today i did some changes to the code and see how far i could get...sadly i lost Round 1 against the notepad by 820kb :(

here the cruel proof:

Notepad memory usage:


@ES - MorphX memory usage:


Round 2 is about to start... any ideas????

:evil::evil::evil::evil::evil:
See less See more
2
1 - 19 of 19 Posts
Round 2:

The battle is over and we have a new King!!!!!


bye, bye notepad :evil:
See less See more
Windows7 x64:



... >_<
nice :thumb:

........ let me do some more changes...


bah... not exactly what i wanted but am pretty sure i can beat that :p


UPDATE:
am comming closer :evil: :evil: :evil:
See less See more
2
Impressive job man, a lot more optimized than it was when I first visited your forum. Course its really not the same program now either with you changing the guts so much.
You need to talk to mudlord. He'd have this down to 10KB... you know... after he converts it to pure x86 assembly. :p
You need to talk to mudlord. He'd have this down to 10KB... you know... after he converts it to pure x86 assembly. :p
the problem isn´t the way the code is written(C#) but the files i use to create that GUI and coverflow..

-background
-buttons
-iphone skin
-8 3D albums items with cover
-10 3D audio covers with custom cover almost on every single one
-custom fader control at the top and bottom(use a image as base)
-custom slider control that uses a background and a thumb image
-overlay
-covers buffer
-some other images hidden by now

this can´t get lower actually but i think i can beat the 1,3mb mark.

Impressive job man, a lot more optimized than it was when I first visited your forum. Course its really not the same program now either with you changing the guts so much.
thank you :thumb:
See less See more
@ruantec:

You should use a constant scene with @ES, or else it doesn't tell us how much memory consumption was reduced.

You can for example load a folder with 15 files, and one with 2 files, and the later option might consume less memory w/o actually altering the @es's code.
@ruantec:

You should use a constant scene with @ES, or else it doesn't tell us how much memory consumption was reduced.

You can for example load a folder with 15 files, and one with 2 files, and the later option might consume less memory w/o actually altering the @es's code.
Well on those pics I have about 10 albums and I show the files there too with covers... Due some nasty optimizations I can load even 100+ covers and still have a low memory usage but as a coder yourself you know that it won't be good at the long run as more memory is needed to perform better and also to cache some stuff specially when the app is as fancy as @es.

Obvously the results I've got so far are great but that doesn't mean the app is faster... Quite opposite as I've to load some key stuff everytime... The test here show that optimization can be done and that is needed at a certain level... Eventho a balance is needed because there isn't much room when you try to keep the memory usage under the <2mb mark.. Anyways I think what I've showed here is a proof that a nice optimization can be done without problems in .net.

In conclution I think the best amount of memory usage for an like @es should be between 20 - 60mb as is a rasonable level. anyways I had fun trying to beat a very simple app like editor with one of the most fancy app ever created here at ngemu... After all we do all for fun and not for compete :p

regards
@ruantec
See less See more
Windows7 x64:



... >_<
x86 FTW! :p



Aero also uses a few hundred Ks.


You gotta get it down to roughly 512K if you want to beat Notepad, @ruantec.
See less See more
2
Beat system idle process xD
See less See more
My phone can :p
Beat system idle process xD
Done. ;p Win 7 FTW!



My phone can :p
No, it can't! lol Actually, WinMo phones would use up quite a bit of mem, too.
See less See more
WTF that hindi movie stuff doing there??? :D
Answer:
my wife is a big Bollywood fan and I like some of the music in those movies :p
less talk more ti... ups i mean more @ES :p
sure thing :thumb:

Beat system idle process xD
i admit that i can´t beat that.... but i can beat the System idle in features and CPU usage :p
for example i got tired of camtasia as it didn´t work as i expected.. hypercam worked fine but none of the recording apps i´ve tried so far records movements, effects or audio correctly and all of them records the audio from the mic which is a crap... fraps do a great job but it only records games at fullscreen and is useless to record the desktop so i took some time this weekend and wrote my own code for @ES to record my videos at a accurate speed using some hardware acceleration which beats the System idle and also added some more features to @ES to complete the combo lol :p

it may use more memory but check this out(the original video quality is very sharp and almost as if you were watching a real time app on your desktop.. sadly i had to compress the video to reduce size):
See less See more
oO

I'm no coder myself, but I see that screen often enough to know that something hovering at that amount of memory is mighty impressive for what it returns in eye candy and functionality. Kudos :thumb:
1 - 19 of 19 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top