For questions pertaining to the measurement or improvement of code efficiency.
0
votes
0answers
5 views
Finding speed and bandwidth in Android
I am trying to calculate the speed in Android Application whenever it is changed. I got the speed, but I have two problems:
1- It takes time to consider the first change and calculate the speed.
2- ...
0
votes
1answer
949 views
Apache2 - Optimal values for ServerLimit, MaxClients, MaxRequestsPerChild for very HIGH traffic website
I'm running a traffic intense site (100k daily). At pick time (1500+ active online) site gets drastically slowed down and increase in page loading time. ( images too )
We use front end + mysql ...
0
votes
1answer
28 views
Speeding up PHP File Writes
I have 8 load balanced web servers powered by NGINX and PHP. Each of these web servers posts data to a central MySQL database server. They [web servers] will also post same data (albeit slightly ...
1
vote
2answers
22 views
Django lte/gte query on a list
I have the following type of data:
The data is segmented into "frames" and each frame has a start and stop "gpstime". Within each frame are a bunch of points with a "gpstime" value.
There is a ...
0
votes
1answer
17 views
remote server performance when scraping
I have used the following problem in other questions, but this time my question regards server performance. And so, I decided to ask a new question.
I try to run the spider below. It only has to go ...
6
votes
5answers
2k views
Any way to speed up Python and Pygame?
I am writing a simple top down rpg in Pygame, and I have found that it is quite slow.... Although I am not expecting python or pygame to match the FPS of games made with compiled languages like C/C++ ...
0
votes
0answers
8 views
Extremely slow mongoDB query
I am new to MongoDB. I have written a JS query that I am running in the mongo shell.
Basically, I have two tables. Both have almost 160,000 records.
I am iteating over first table and for every ...
0
votes
0answers
8 views
Loading tab contents with jQuery
I have webpage with tabs that switch between views. Preview
The issue is that the when the page is loading, it loads all the information from all tabs.
I wish to load the tab contents when the user ...
0
votes
0answers
5 views
Animation/Touch Response Slow With Many CAShapeLayers
I am trying to use CAShapeLayer in my iOS app as it takes a fraction of the CPU time to mask an image vs manually masking one in a bitmap context;
When I have several hundred a dozen or more images ...
0
votes
0answers
4 views
wxPython Rendering issues, very slow and crashes, not sure why
I have been creating a simple tile based game to help me learn python and wx python. For starters I wanted to create my own 'world' and to test the simple map generator I made, I bound the return key ...
2
votes
2answers
123 views
A better way of keeping track of cursor position in a text-field while auto-correcting?
I am working on a jQuery plugin for converting Latin characters to Japanese kana symbols (live example) in real-time (auto-correct) and it works correctly if I'm not typing too fast.. Which is a ...
0
votes
1answer
8 views
Joomla 3, Godaddy or CloudFlare causing performance problems
I have website on godaddy built with Joomla 3 and I am using CloudFlare service to speed up my website, but today I tried to test the speed on http://tools.pingdom.com . It turns out that almost 70% ...
0
votes
1answer
13 views
Neo4j - adding extra relationships between nodes in a list
I have a list of nodes representing a history of events for users forming, a following pattern:
()-[:s]->()-[:s]->() and so on
Each of the nodes of the list belongs to a user (is connected ...
3
votes
2answers
46 views
Before I write my own, is there an open source tablemodel that automatically collapses columns that contain all nulls?
So given a two dimensional array (actually an ArrayList<ArrayList<Object>>) of raw data as such:
A B C D E
Bob null 42 null null
Sam null 38 blue 0
...
-1
votes
1answer
57 views
Game unplayable because of FPS drops
Am I the only one experiencing this? I have nothing but a little, tiny, game, but it's close to unplayable now because of FPS drops.
Here's my code, if anyone is wondering:
Game1.cs
using System;
...