I was considering trying PLINQ to parallelize some numerical methods which need to be portable. Does Mono implement Parallel LINQ? If so, how does performance compare between .NET and mono.
Hi,
I think my boss has some negative mark on me, that i am not fir for coding. But my Tech Lead is very happy about my coding and performance. What i do for improving my career in software development area.
When I set glStencilFunc( GL_NEVER, . . . ) effectively disabling all drawing, and then run my [shader-bound] program I get no performance increase over letting the fragment shader run. I thought the stencil test happened before the fragment program. Is that not the case, or at least not guaranteed? Replacing the fragment shader with one that simply writes a constant to gl_FragColor does result in a higher FPS.
From wiki: In computing, just-in-time compilation (JIT), also known as dynamic translation, is a technique for improving the runtime performance of a computer program.
So I guess JVM has another compiler, not javac, that only compiles bytecode to machine code at runtime, while javac compiles sources to bytecode,is that right?
We are in the process of integrating ASP.NET Business App with Sharepoint. I have some Design questions.
Requirement - From ASP.NET buz application we upload document to Sharepoint Doc Lib 2010 using Web Services. And perform a Search using Serach web service. I would like to know from group are there any disadvantages doing this? Performance etc .. What kind of seacurity consideration i need to be thinking of.
The lack of expression trees in Compact Framework has bugged me for some time now, but I haven't really looked for a solution.
Today, I've found a blog post about an alternative System.Linq.Expressions built on top of Mono System.Core and used e.g. by db4o (you can find it here).
My question is - have you used this library and if so, what were your experiences with it (especially regarding performance)?
Hi,
I'm writing a wrapper for SVNKit to be used as a sync tool. And committing a 51mb file is taking a long time and I was wondering if performance of committing/importing can be optimized?
What do you guys think?
Is it bad to write:
if (b == false) //...
while (b != true) //...
Is it always better to instead write:
if (!b) //...
while (!b) //...
Presumably there is no difference in performance (or is there?), but how do you weigh the explicitness, the conciseness, the clarity, the readability, etc between the two?
Note: the variable name b is just used as an example, ala foo and bar.
I have a div, containing text and a few links. I want to trigger an onclick event, only if the click occurs anywhere in the div, but not on any of the links.
What would be the best way (performance wise) to implement this using jQuery?
The one I use is
$('#div').click(function(){
});
but it disables all the #div a
Hello,
I have a containing div that has multiple divs within which is updated every 25ms using innerHTML (for performance reasons). I have tried using event delegation to capture events but nothing I seem to do captures the click event. I think this may be due to the speed that the contents are getting updated. Any ideas would be very welcome.
Thanks
Mark
Is it bad to write:
if (b == false) //...
while (b != true) //...
Is it always better to instead write
if (!b) //...
while (!b) //...
Presumably there is no difference in performance (or is there?), but how do you weigh the explicitness, the conciseness, the clarity, the readability, etc between the two?
Hi,
In one of my application I'm using the WebClient class to download files from a web server. Depending on the web server sometimes the application download millions of documents. It seems to be when there are lot of documents, performance vise the WebClient doesn't scale up well.
Also it seems to be the WebClient doesn't immediately close the connection it opened for the WebServer even after it successfully download the particular document.
I would like to know what other alternatives I have.
Thanks,
Shamika
Hi,
Is there any other method than nHibernate by wich we can generate db schema from class definition? My classes arn't that complex etc (few one-to-many relations). However I would like to just be able to save my objects in db and recreate schema if needed.
I am stuck with .NET 2.0. I am not that particular about performance for this project, I am just lazy to create tables and write save/load code and deel with nHibernate xml.
Thanks
Hi all, basically i am launching a site soon and i predict ALOT of traffic. For scenarios sake, lets say i will have 1m uniques a day. The data will be static but i need to have includes aswell
I will only include a html page inside another html page, nothing dynamic (i have my reasons that i wont disclose to keep this simple)
My question is, performance wise what is faster
or
I want to get, via ajax, a collection of data objects and parse them into JS data.
Currently I have 2 choices:
- Server returns valid javascript code and then I eval it.
- Server returns JSON object and then I eval the json object
What is the fastest of these in Firefox? (I only care about the "parsing" performance, not server or data transfer)
Hi,
We have an existing web application developed using ASP.NET/Ajax
We are planning to move it to either WPF or Silverlight.
Can someone please compare these 2 technologies with respect to productivity,performance, maintainability,trade-offs, their pros and cons etc ?
Thanks for reading.
I have been using CouchDB on some prototype applications and it has been brilliant, very easy to use and extremely quick. I was wondering if anyone has been using it in production and have any views on it's reliability, performance suitability for operational management etc ?? I am considering using it to support a service layer and would make use of its replication functionality.
Any comments/experiences would be most welcome.
I've been writing a small desktop gadget-type application that displays scrolling text along the bottom of the screen (Similar to the old CNN news ticker), however the performance of GDI is just unsatisfactory (As high as 8-12% on a quad core and 20% on a single core) even after I've attempted to clean out bottlenecks.
I was considering using OpenGL instead to render everything, but I don't know if that is a reasonable option to require users to have hardware acceleration for a tiny app like this.
Does anybody have any input on this?
I'm reading applications .config file using .NET ConfigurationManager like it should be done, but ....
Which one is most preferred option:
Read config and store instance of (build in or custom) ConfigurationElement for later use
Read config and store only needed values (but not instances of ConfigrationElement classes) for later use
Read ConfigurationElement from config always when configuration values are needed
These two things are in my mind:
Performance impact in case 3 when reading config all the time
Problems occuring in case 1 when using cached instances of ConfigurationElements
I have using the many dynamic Query in my database for the procedures because my filter is not fix so i have taken @filter as parameter and pass in the procedure.
Declare @query as varchar(8000)
Declare @Filter as varchar(1000)
set @query = 'Select * from Person.Address where 1=1 and ' + @Filter
exec(@query)
Like that my filter contain any Field from the table for comparison.
It will affect my performance or not ?
is there any alternate way to achieve this type of things
I have created NPAPI plugin, which is workig fine on linux where I have created the .so file but when I deployed this plugin on our production device where we have linux environment with limited resources(due to performance constraints) , following error is thrown
'/usr/lib/mozilla/plugins/npPluginTest.so' is not an ELF executable for sh
FYI:so file created on 32bit linux box.
how can I resolve this issue?
I want to extract a word from a string column of a table.
description
===========================
abc order_id: 2 xxxx yyy aa
mmm order_id: 3 nn kk yw
Expected result set
order_id
===========================
2
3
Table will at most have 100 rows, text length is ~256 char and column always has one order_id present. So performance is not an issue.
In Oracle, I can use REGEXP_SUBSTR for this problem. How would I solve this in MySQL?
I have a .Net web application that for performance issues gets all the static data (CSS, Images, JS) from an external server that is on different location and different hosting company.
I want to enable SSL on my site without the users getting a message:
"Page contains both secure and insecure elements"
Does this means I’ll have to get two SSL Certificates one for each server?
If I want the users to continue getting the static content from the external server what other options do I have?
Thanks.
Well aware that DLR is here!! I have recently reading up on all of these and was wondering if there were any specific benefits of using one language over another?
For example performance benefits! and available functionality through standard libaries!!
Depending on implementation, OMP can be quite useful to parallelize fairly arbitrary bits of code - e.g a parallel section inside a method that calls two independent methods - or it can be bad. It depends on how threads are created/cached, I think.
How does the VC++ 2008 implementation work? And is the 2010 implementation significantly different in terms of features and performance/flexibility?