How to profile a silverlight application? [closed] - silverlight

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 9 months ago.
Improve this question
Is their any profilers that support Silverlight? I have tried ANTS (Version 3.1) without any success? Does version 4 support it? Any other products I can try?
Updated
since the release of Silverlight 4, it is now possible to do full profiling on SL applications... check out this article on the topic
At PDC, I announced that Silverlight 4 came with the new CoreCLR capability of being profile-able by the VS2010 profilers: this means that for the first time, we give you the power to profile the managed and native code (user or platform) used by a Silverlight application. woohoo. kudos to the CLR team.
Sidenote: From silverlight 1-3, one could only use things like xperf (see XPerf: A CPU Sampler for Silverlight) which is very powerful to see the layout/text/media/gfx/etc pipelines, but only gives the native callstack.)
From SilverLite (PDC video, TechEd Iceland, VS2010, profiling, Silverlight 4)

Install XPerf and xperfview as available here: http://msdn.microsoft.com/en-us/library/cc305218.aspx
(1) Startup your sample
(2) xperf -on base
(3) wait for a bit
(4) xperf –d myprofile.etl
(5) when this is done, set your symbol path:
set _NT_SYMBOL_PATH= srvC:\symbolshttp://msdl.microsoft.com/downloads/symbols
(6) xperfview myprofile.etl
(7) Trace -> Load Symbols
Select the area of the CPU graph that you want to see
Right-click and select Summary Table
(8) Accept the EULA for using symbols, expand IExplore, expand agcore.dll or whatever is your top module

Visual Studio 2010 (with the Silverlight 4 tools) comes with command line support for profiling Silverlight apps.
Full instructions for profiling SL4 can be found at: http://www.nachmore.com/2010/profiling-silverlight-4-with-visual-studio-2010/

Try JetBrains dotTrace performance profiler.
Here is the detail how to:
http://confluence.jetbrains.net/display/NetProf/How+to+profile+silverlight+application

Here is a detailed blog entry about using XPerf... Also check out this video (at PDC) about profiling silverlight!!!

AtoLogic SilverProfiler should work for you. See http://www.atologic.com

SL 4.0 has coreclr etw events. Should be able to diagnose exception,gc, threading and few others using the XPERF and Perfmonitor and clr etw. I have blogged about this.
FYI using Perfmonitor should be able to provide call-stacks.
ETW is available only in Windows.

I like RedGate ANTS. I find it to be a much nicer profiler than dotTrace.

Related

Which IDEs have good support for programming with CUDA? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm starting to do programming with CUDA C. Are there any IDE that are especially good for programming with it?
I'm using a windows machine and a personal macbook :D (But I want to know what people use in linux and mac also)
Definitely the better way to code CUDA in Windows right now is Nsight Visual Studio Edition environment. With the release of CUDA 5, comes also the Nvidia Nsight Eclipse Edition, with the same programming capabilities but with the IDE of Eclipse. Nsight Eclipse Edition is available on Linux and MacOS (but not Windows). You can try it already with the CUDA 5 release candidate : http://developer.nvidia.com/cuda/cuda-toolkit
I've used CUDA 2.1, and VS2008, and haven't had any problems. Just make sure after you install the toolkit and the SDK, that you do the following:
Open "My Computer" (or explorer, or whatever) and navigate to C:\ProgramData\NVIDIA Corporation\NVIDIA CUDA SDK\common
Double-click on cutil_vc90.sln (assuming you're using CUDA 2.1 and VS2008); when the solution loads up, you will see a drop-down menu for the build configuration. If you are on a 64-bit platform, you need to change this from Win32 to x64.
Build the solution.
Look up top again -- you should see the build configuration menu that says "Debug". Change it to "Release" and build the solution again.
Close Visual Studio.
Back in the explorer window, find the file "paramgl_vc90.sln". Double-click it to open that solution.
Repeat the same configuration setup and build process as described above, then close Visual Studio.
At this point, you should be able to compile the SDK projects; if you are using VS2008, make sure you open the solutions ending in _vc90.sln. Again, if you're on x64, you need to also make sure to set the build platform to "x64" in that drop-down menu.
If you get this far, and you're ready to write your own projects, check out the "template" project that comes with the SDK. You should be able to make a copy of that and use it for your own stuff, with the compiler settings (for CUDA, that is) already set up.
there is a thread on nvidia for this as well http://forums.nvidia.com/index.php?showtopic=91057
In windows you can use NVIDIA Parallel Nsight Visual Studio solution. I think there is no better alternative for GPU development on windows. And Linux + GPU development == SUX.
There are some attempts to make some Linux distro which would be GPU-development friendly, but given that these are first steps to this goal - I don't expect too much from this product. (Also they have broken links)
Under my Win7 I use MSVS 10 with NVidia debugger and Parallel Nsight integrated. I have cross-platform build with cmake. It's so easy with cmake. Under Linux (I use Fedora 16) I work in QT creator because it integrates well with cmake and debugger (and looks better than other IMXO). Inder Linux you can attach NVidia debugger, too.

How can I host the Windows Workflow 4 'Workflow Designer"? Is Silverlight, or Click once supported?

There is a question that references the old, buggy 3.5 version here. This question is regarding the WF that comes with .NET 4.
My question is, where can I find a code sample and information on hosting the Workflow 4 Designer?
Is Silverlight Supported, or Click Once? What .NET client profiles are supported?
There are several samples out there showing how to rehost the designer. Here is one on my blog and here is another in the MSDN WF4 & WCF samples.
The WorkflowDesigner is a WPF control, there is no Silverlight version available. The client profile should be good enough for almost all your needs. And Click Once will work just fine.

Mobile Development Tools [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm researching various tools available for developing and deploying an app to mobile devices. The existing app is available in two versions: as a traditional desktop application and as a browser-based "Lite" version. We're building out the features of the "Lite" version to make it a full implementation of the flagship software, but thinking about mobile development as well.
What are the best tools available for cross-platform deployment of an Internet-enabled application to mobile devices? Which is the better way to go, native applications developed on a cross-platform API or a mobile-ready website? What tools are available for each?
One person suggested looking into "Agile" as a solution. I'm not quite sure what he meant, or even if that was the right reference ... does it ring a bell for anyone (I'm familiar with "agile development," but he was referring to "Agile" as a mobile development tool ...)?
It turned out "Agile" was a misstep. At the time, he was referring to tools like Mobify that automate the development and deployment of simple mobile websites. For our situation (a membership-based RIA), though, this wouldn't work.
The best tools I did find, though, for anyone interested:
Sencha Touch
A fantastic JS library for building RIA system for the iPhone and Android
GPL licensed for free software
Commercial licenses are also available
Uses HTML5 and CSS3 to deliver smooth animations and an incredibly "squishy" UI
jQTouch
Another great JS library (Sencha is actually based on this one).
Built on jQuery, so it's an easy framework to learn
MIT licensed - more versatile than GPL licensing when it comes to JS libraries
Also uses HTML5 and CSS3
Raphael
A great library for interactive/animated SVG displays (I need to graph data, so this is important
Also MIT licensed
In reality, Sencha Touch is based on both jQTouch and Raphael, so if you're looking for an all-in-one solution, I'd recommend you go that direction. Unfortunately, it doesn't work well in situations where your server-side applications are closed-source (which is a necessary security requirement for medical or financial web applications). Though Sencha does offer a corporate license, it's currently a "beta" license and they may or may not charge $199/developer in September (they're unsure of the schedule). Their interpretation of the GPL is also more viral than most, so I would not recommend using their GPL license if there's any code on your site (even on the back-end) that would even remotely fall into non-compliance.

Free cross-platform tools for web development [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
This question is geared towards a group of newly hired developers that need to adopt into a minimal learning curve, maximum development/programming/management effort. Some of the developers have senior level experience and will be mentoring the junior developers. My question is I would like a solid set of tools that can run on any system (as they can choose what they like) but be the same for the entire group. The focus is on Mobile web (Not App) Development but are looking to venture into the Application market once the team gets up to speed with the web development.
Categories of software I need,
Web Development:
IDE (I think I'm set on Aptana stand alone version, unless someone sees something better)
Database GUI (I like DBVisualizer but I'm open to suggestions. MySQL and PostgreSQL are my options)
Code Repository (SVN, GIT, CVS ???)
Debugging tools (need server side as well as client side)
Frameworks (PHP, Ruby, Perl, jQuery, CSS framwork???)
Development Methodology (Agile, Scrum, etc...)
Workflow Documentation (Something like Visio but free)
Mobile Browser set (Firefox, Multi IE, Opera, Safari, Google Chrome) Why/Why Not???
Missing anything from the list???
App Development:
Application SDK's (iPhone,Android, Pre if it still exists)
Handset device
Anything else I might need to plan for???
For communication we are using Google Hosted Apps as well as Wave.
Code Repository: Add Mercurial - Its the only free, distributed version control system that easily runs on windows, mac, linux, etc. SVN will be the only one of those that has a friendly interface.
You'll need to plan for how to make your UI cross platform compatible. As of this writing, its quite difficult to perform a write-once interface in HTML/JS. Although state-of-compatibility is getting better, I would plan to very carefully separate your UI from your business logic because I think you'll likely need to either deploy separate versions of the UI for each device or to have unified, but very simplified, UI that works on many devices (assuming a web app).
Plan on unit test your business code to make sure it works on all of your devices. The JS engines differ, and you need to know that early in your dev process.
Plan ahead as to how to handle user input. If your users have a physical keypad, for example, they'll expect to use it. You may want a very different layout for a site targeting Blackberries with trackballs, then an iPhone or Storm that uses finger taps.
Know ahead of time which platforms you will target, and then buy those phones. If its worth doing, its worth buying the phone. As an example, my first iPhone app talked to the database. It worked fine on the simulator but I was waiting for my developer key before I could test on the device. Once on the device, I discovered that what I thought would be a 1/2 second delay was more like a 40 second delay, which forced me to totally revamp the project.
Hope this helps.
IDE - I think Eclipse (Aptana is a custom version of Eclipse) is a good choice for a cross platform and cross-language IDE. You could also look into NetBeans.
Database GUI - I haven't used many DB Visualizer's myself, so I'll pass on that one.
Source Control - I would go with GIT even if your developers haven't used it before. They will learn to like it quickly and the client tools have improved considerably in the last year or so. Check out Git Extensions for Windows and GitX for Mac.
Web Framework - This should be based on your team's experience and the requirements of your project. I would pick whatever your team feels the most comfortable with. Personally, I'm a fan of Ruby on Rails and ASP.Net MVC, but Asp.Net MVC is microsoft platform, and it seems like you want to stay open source.
Dev Methodology - Whatever your team feels comfortable with. I would say look into Agile and TDD (test driven development)
Workflow Documentation - Not sure about this one
Browser Set - Use them all. Test your applications in as many places as possible. For testing multiple versions of IE, I use IETester. Safari and some extensions for Firefox allow you to change your browser's user agent, which can be useful.

Alternative to Esper? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am really interested in Complex Event Processing and have been looking at Esper. However my company has an anti-GPL stance and I was wondering if there are non-GPL alternatives out there under a more business friendly license like Apache or BSD?
Quite late, but here you can find an overview, too. CEP vendor overview
FWIW, Esper has a non-GPL license if that's what you're after. Go to their website at www.espertech.com - otherwise the community license is just GPL.
SiddhiCEP is an Apache License v2 software. You can use that as a library or even as a CEP Server. If you are going for production you can also get production support for SiddhiCEP from the open source product company called WSO2
Drools Fusion has an ASL-style license (http://legacy.drools.codehaus.org/Licensing). Pion is another open-source system with an AGPL license. If you prefer a normal commercial license there's Aleri, Streambase and ruleCore. Aleri and streambase are "normal" software and ruleCore is a CEP cloud.
There is book coming up on CEP; chapter 1 available here for free (no login required) lists a number of systems, but no license information: http://www.manning.com/etzion/Etzion_MEAPch01_free.pdf
You might want to take a look at OpenESB's Intelligent Event Processor. I have not looked at it in any detail, but I did find it difficult to determine exactly what the underlying API was. Rather, it talks a lot about a NetBeans IDE that allows you define an event processing work-flow, which is ok, but what I would like to understand better is what the real API is underlying the IDE. In contrast, Esper is all about the API and much lighter on the assistive tools.
I am also not sure what the license is, but I assume that as part of the Sun GlassFish initiative, it would be CDDL (correct acronym ?)
You can look at ERMA (Extremely Reusable Monitoring API). It was developed by Orbitz for internal use, and they have open sourced it a while ago. It uses the Apache License.
FYI Esper Enterprise Edition does not use the GPL. I.e. no copy left problem...
Can I freely use Esper in my application?
Esper is licensed under the
open source GPL GNU Public License v2.0 license. You may check this
license depending on your application and how you redistribute it.
Restrictions may apply. You should consider Esper Enterprise Edition
for any production use. Esper Enterprise Edition is not made available
under a viral copyleft license and combines Esper, EsperJMX, EsperJDBC
and Esper Studio in one single certified and supported package for
maximal productivity, interoperability and manageability.
The rulecore cep server has a non-gpl (closed) source code license. If you purchase a license from ruleCore, you are allowed to modify the source and distribute your own version without showing your modifies source code to anyone. Might be a good idea for a commercial project with all kinds of IP issues.
You can also check with Siddhi
https://github.com/wso2/siddhi

Resources